From 8e235230a4c16a042d2620fa7b58a9b0f4ba1914 Mon Sep 17 00:00:00 2001 From: ukashanoor Date: Mon, 19 Jun 2017 10:42:03 +0530 Subject: after if and for --- macros/ASTManagement/%comment_string.bin | Bin 0 -> 780 bytes macros/ASTManagement/%cste_string.bin | Bin 0 -> 3484 bytes macros/ASTManagement/%equal_string.bin | Bin 0 -> 2152 bytes macros/ASTManagement/%for_string.bin | Bin 0 -> 2124 bytes macros/ASTManagement/%funcall_string.bin | Bin 0 -> 1748 bytes macros/ASTManagement/%ifthenel_string.bin | Bin 0 -> 3784 bytes macros/ASTManagement/%ifthenelse_string.bin | Bin 0 -> 3784 bytes macros/ASTManagement/%operatio_string.bin | Bin 0 -> 1352 bytes macros/ASTManagement/%operation_string.bin | Bin 0 -> 1352 bytes macros/ASTManagement/%program_p.bin | Bin 0 -> 520 bytes macros/ASTManagement/%program_string.bin | Bin 0 -> 3276 bytes macros/ASTManagement/%variable_string.bin | Bin 0 -> 3648 bytes macros/ASTManagement/%while_string.bin | Bin 0 -> 1972 bytes macros/ASTManagement/AST2Ccode.bin | Bin 0 -> 32736 bytes macros/ASTManagement/AST2Ccode.sci | 8 +- macros/ASTManagement/AST_CheckCommonInOutArgs.bin | Bin 0 -> 16824 bytes macros/ASTManagement/AST_CheckLastFunc.bin | Bin 0 -> 9164 bytes macros/ASTManagement/AST_CheckLineLength.bin | Bin 0 -> 3296 bytes macros/ASTManagement/AST_CheckPrecSpecifier.bin | Bin 0 -> 10864 bytes macros/ASTManagement/AST_DisplayStack.bin | Bin 0 -> 4704 bytes macros/ASTManagement/AST_ExtractNameAndScope.bin | Bin 0 -> 13184 bytes macros/ASTManagement/AST_GetASTFile.bin | Bin 0 -> 7216 bytes macros/ASTManagement/AST_GetFuncallPrm.bin | Bin 0 -> 6872 bytes macros/ASTManagement/AST_GetPrecAndLhsArg.bin | Bin 0 -> 12552 bytes macros/ASTManagement/AST_HandleEOL.bin | Bin 0 -> 11704 bytes macros/ASTManagement/AST_HandleEndFor.bin | Bin 0 -> 10452 bytes macros/ASTManagement/AST_HandleEndGenFun.bin | Bin 0 -> 100596 bytes macros/ASTManagement/AST_HandleEndGenFun.sci | 26 ++- macros/ASTManagement/AST_HandleEndProgram.bin | Bin 0 -> 7968 bytes macros/ASTManagement/AST_HandleEndWhile.bin | Bin 0 -> 8984 bytes macros/ASTManagement/AST_HandleFor.bin | Bin 0 -> 12920 bytes macros/ASTManagement/AST_HandleForStatem.bin | Bin 0 -> 11348 bytes macros/ASTManagement/AST_HandleHeader.bin | Bin 0 -> 39132 bytes macros/ASTManagement/AST_HandleIfElse.bin | Bin 0 -> 12056 bytes macros/ASTManagement/AST_HandleIfElse.sci | 6 +- macros/ASTManagement/AST_HandleWhileExpr.bin | Bin 0 -> 12140 bytes macros/ASTManagement/AST_HandleWhileStatem.bin | Bin 0 -> 15548 bytes macros/ASTManagement/AST_HandleWhileStatem.sci | 60 +++--- macros/ASTManagement/AST_ParseEqualStruct.bin | Bin 0 -> 20312 bytes macros/ASTManagement/AST_ParseFuncallStruct.bin | Bin 0 -> 15024 bytes macros/ASTManagement/AST_ParseFuncallStruct.sci | 4 + macros/ASTManagement/AST_ParseIfExprStruct.bin | Bin 0 -> 16644 bytes macros/ASTManagement/AST_ParseIfExprStruct.sci | 44 +++- macros/ASTManagement/AST_ParseOperStruct.bin | Bin 0 -> 16668 bytes macros/ASTManagement/AST_ParseOperStruct.sci | 11 + macros/ASTManagement/AST_PopASTStack.bin | Bin 0 -> 3896 bytes macros/ASTManagement/AST_PushASTStack.bin | Bin 0 -> 3300 bytes macros/ASTManagement/AST_ReadASTHeader.bin | Bin 0 -> 11288 bytes macros/ASTManagement/AST_ReadEqualRhsNames.bin | Bin 0 -> 6972 bytes macros/ASTManagement/GenOutArgNames.bin | Bin 0 -> 17208 bytes macros/ASTManagement/GenOutArgNames.sci | 110 ++++++---- macros/ASTManagement/Operator2FunName.bin | Bin 0 -> 18584 bytes macros/ASTManagement/SciFile2ASTFile.bin | Bin 0 -> 4192 bytes macros/ASTManagement/_comment_string.bin | Bin 0 -> 780 bytes macros/ASTManagement/_cste_string.bin | Bin 0 -> 3484 bytes macros/ASTManagement/_equal_string.bin | Bin 0 -> 2152 bytes macros/ASTManagement/_for_string.bin | Bin 0 -> 2124 bytes macros/ASTManagement/_funcall_string.bin | Bin 0 -> 1748 bytes macros/ASTManagement/_ifthenel_string.bin | Bin 0 -> 3784 bytes macros/ASTManagement/_ifthenelse_string.bin | Bin 0 -> 3784 bytes macros/ASTManagement/_operatio_string.bin | Bin 0 -> 1352 bytes macros/ASTManagement/_operation_string.bin | Bin 0 -> 1352 bytes macros/ASTManagement/_program_p.bin | Bin 0 -> 520 bytes macros/ASTManagement/_program_string.bin | Bin 0 -> 3276 bytes macros/ASTManagement/_variable_string.bin | Bin 0 -> 3648 bytes macros/ASTManagement/_while_string.bin | Bin 0 -> 1972 bytes macros/ASTManagement/lib | Bin 4861 -> 1768 bytes macros/ASTManagement/objectlist2string.bin | Bin 0 -> 1384 bytes macros/CCodeGeneration/C_FinalizeCode.bin | Bin 0 -> 18232 bytes macros/CCodeGeneration/C_ForExpression.bin | Bin 0 -> 32208 bytes macros/CCodeGeneration/C_Funcall.bin | Bin 0 -> 73176 bytes macros/CCodeGeneration/C_GenDeclarations.bin | Bin 0 -> 22004 bytes macros/CCodeGeneration/C_GenerateFunName.bin | Bin 0 -> 7776 bytes macros/CCodeGeneration/C_GenerateLaunchScript.bin | Bin 0 -> 17232 bytes macros/CCodeGeneration/C_GenerateMakefile.bin | Bin 0 -> 32632 bytes macros/CCodeGeneration/C_GenerateMakefile_msvc.bin | Bin 0 -> 29868 bytes macros/CCodeGeneration/C_GenerateSCI2CHeader.bin | Bin 0 -> 1936 bytes macros/CCodeGeneration/C_IfElseBlocks.bin | Bin 0 -> 8516 bytes macros/CCodeGeneration/C_IfExpression.bin | Bin 0 -> 12440 bytes macros/CCodeGeneration/C_IfExpression.sci | 31 ++- macros/CCodeGeneration/C_IndentBlanks.bin | Bin 0 -> 3184 bytes macros/CCodeGeneration/C_InitHeader.bin | Bin 0 -> 14140 bytes macros/CCodeGeneration/C_MemAllocOutTempVars.bin | Bin 0 -> 12996 bytes macros/CCodeGeneration/C_SCI2CHeader.bin | Bin 0 -> 7268 bytes macros/CCodeGeneration/C_Type.bin | Bin 0 -> 6816 bytes macros/CCodeGeneration/C_WhileExpression.bin | Bin 0 -> 15704 bytes macros/CCodeGeneration/C_WhileExpression.sci | 28 ++- macros/CCodeGeneration/GenCFunDatFiles.bin | Bin 0 -> 9348 bytes macros/CCodeGeneration/GetClsFileName.bin | Bin 0 -> 14164 bytes macros/CCodeGeneration/GetClsFileName.sci | 4 + macros/CCodeGeneration/GetSymbolDimension.bin | Bin 0 -> 8944 bytes macros/CCodeGeneration/GetWhileCondVariable.bin | Bin 0 -> 10228 bytes macros/CCodeGeneration/JoinDeclarAndCcode.bin | Bin 0 -> 22776 bytes macros/CCodeGeneration/Sci2AnnotationFile.bin | Bin 0 -> 7400 bytes macros/CCodeGeneration/lib | Bin 2449 -> 912 bytes macros/ErrorMessages/EM_NanSize.bin | Bin 0 -> 22776 bytes macros/ErrorMessages/EM_UnknownStep.bin | Bin 0 -> 18292 bytes macros/ErrorMessages/EM_ZeroSize.bin | Bin 0 -> 3200 bytes macros/ErrorMessages/lib | Bin 379 -> 424 bytes macros/FunctionAnnotation/FA_ADD.bin | Bin 0 -> 4856 bytes macros/FunctionAnnotation/FA_DIV.bin | Bin 0 -> 4904 bytes .../FunctionAnnotation/FA_GetDefaultPrecision.bin | Bin 0 -> 11384 bytes macros/FunctionAnnotation/FA_GetFunAnn.bin | Bin 0 -> 32436 bytes macros/FunctionAnnotation/FA_GetFunAnn.sci | 3 +- macros/FunctionAnnotation/FA_GetOutArgInfo.bin | Bin 0 -> 17648 bytes macros/FunctionAnnotation/FA_GetResizeApproach.bin | Bin 0 -> 10484 bytes macros/FunctionAnnotation/FA_INT.bin | Bin 0 -> 4516 bytes macros/FunctionAnnotation/FA_MAX.bin | Bin 0 -> 5320 bytes macros/FunctionAnnotation/FA_MIN.bin | Bin 0 -> 4524 bytes macros/FunctionAnnotation/FA_MUL.bin | Bin 0 -> 4932 bytes macros/FunctionAnnotation/FA_REAL.bin | Bin 0 -> 4400 bytes macros/FunctionAnnotation/FA_SCHUR_SZ.bin | Bin 0 -> 4988 bytes macros/FunctionAnnotation/FA_SCHUR_TP.bin | Bin 0 -> 4364 bytes macros/FunctionAnnotation/FA_SUB.bin | Bin 0 -> 4916 bytes macros/FunctionAnnotation/FA_SZ_1.bin | Bin 0 -> 2608 bytes macros/FunctionAnnotation/FA_SZ_2.bin | Bin 0 -> 2616 bytes macros/FunctionAnnotation/FA_SZ_COLUMN_DIAG.bin | Bin 0 -> 4612 bytes macros/FunctionAnnotation/FA_SZ_COL_DIAG_IN_EX.bin | Bin 0 -> 9196 bytes macros/FunctionAnnotation/FA_SZ_DEC2BASE.bin | Bin 0 -> 2944 bytes macros/FunctionAnnotation/FA_SZ_DEC2BIN.bin | Bin 0 -> 1820 bytes macros/FunctionAnnotation/FA_SZ_DEC2HEX.bin | Bin 0 -> 1740 bytes macros/FunctionAnnotation/FA_SZ_DEC2OCT.bin | Bin 0 -> 1820 bytes macros/FunctionAnnotation/FA_SZ_DIFF.bin | Bin 0 -> 8288 bytes macros/FunctionAnnotation/FA_SZ_FACTOR.bin | Bin 0 -> 1464 bytes macros/FunctionAnnotation/FA_SZ_FROM_VAL.bin | Bin 0 -> 3448 bytes macros/FunctionAnnotation/FA_SZ_LINSPACE_ROW.bin | Bin 0 -> 4296 bytes macros/FunctionAnnotation/FA_SZ_LQE.bin | Bin 0 -> 4928 bytes macros/FunctionAnnotation/FA_SZ_LQR.bin | Bin 0 -> 4484 bytes macros/FunctionAnnotation/FA_SZ_OBSCNT.bin | Bin 0 -> 6828 bytes macros/FunctionAnnotation/FA_SZ_OPAPEX.bin | Bin 0 -> 3224 bytes macros/FunctionAnnotation/FA_SZ_OPBACKSLASH.bin | Bin 0 -> 4320 bytes macros/FunctionAnnotation/FA_SZ_OPCC.bin | Bin 0 -> 5056 bytes macros/FunctionAnnotation/FA_SZ_OPDOTAPEX.bin | Bin 0 -> 1960 bytes macros/FunctionAnnotation/FA_SZ_OPDOTBACKSLASH.bin | Bin 0 -> 2036 bytes macros/FunctionAnnotation/FA_SZ_OPDOTHAT.bin | Bin 0 -> 5712 bytes macros/FunctionAnnotation/FA_SZ_OPDOTSLASH.bin | Bin 0 -> 2020 bytes macros/FunctionAnnotation/FA_SZ_OPDOTSTAR.bin | Bin 0 -> 3664 bytes macros/FunctionAnnotation/FA_SZ_OPHAT.bin | Bin 0 -> 5688 bytes macros/FunctionAnnotation/FA_SZ_OPLOGAND.bin | Bin 0 -> 2012 bytes macros/FunctionAnnotation/FA_SZ_OPLOGEQ.bin | Bin 0 -> 2008 bytes macros/FunctionAnnotation/FA_SZ_OPLOGGE.bin | Bin 0 -> 2008 bytes macros/FunctionAnnotation/FA_SZ_OPLOGGT.bin | Bin 0 -> 2008 bytes macros/FunctionAnnotation/FA_SZ_OPLOGLE.bin | Bin 0 -> 2008 bytes macros/FunctionAnnotation/FA_SZ_OPLOGLT.bin | Bin 0 -> 2008 bytes macros/FunctionAnnotation/FA_SZ_OPLOGNE.bin | Bin 0 -> 2008 bytes macros/FunctionAnnotation/FA_SZ_OPLOGNOT.bin | Bin 0 -> 1956 bytes macros/FunctionAnnotation/FA_SZ_OPLOGOR.bin | Bin 0 -> 2008 bytes macros/FunctionAnnotation/FA_SZ_OPMINUS.bin | Bin 0 -> 6704 bytes macros/FunctionAnnotation/FA_SZ_OPPLUS.bin | Bin 0 -> 14040 bytes macros/FunctionAnnotation/FA_SZ_OPPLUSA.bin | Bin 0 -> 8516 bytes macros/FunctionAnnotation/FA_SZ_OPRC.bin | Bin 0 -> 5056 bytes macros/FunctionAnnotation/FA_SZ_OPSLASH.bin | Bin 0 -> 3600 bytes macros/FunctionAnnotation/FA_SZ_OPSTAR.bin | Bin 0 -> 8228 bytes macros/FunctionAnnotation/FA_SZ_PRIMES.bin | Bin 0 -> 1524 bytes macros/FunctionAnnotation/FA_SZ_ROW_COLUMN_CAT.bin | Bin 0 -> 6932 bytes macros/FunctionAnnotation/FA_SZ_ROW_DIAG.bin | Bin 0 -> 4624 bytes .../FunctionAnnotation/FA_SZ_ROW_DIAG_INS_EXT.bin | Bin 0 -> 19788 bytes macros/FunctionAnnotation/FA_SZ_SEL1.bin | Bin 0 -> 7028 bytes macros/FunctionAnnotation/FA_SZ_SEL2.bin | Bin 0 -> 6920 bytes macros/FunctionAnnotation/FA_TP_C.bin | Bin 0 -> 3252 bytes macros/FunctionAnnotation/FA_TP_COMPLEX.bin | Bin 0 -> 4520 bytes macros/FunctionAnnotation/FA_TP_CVIMAGE.bin | Bin 0 -> 4172 bytes macros/FunctionAnnotation/FA_TP_D.bin | Bin 0 -> 3220 bytes macros/FunctionAnnotation/FA_TP_I.bin | Bin 0 -> 3208 bytes macros/FunctionAnnotation/FA_TP_INT16.bin | Bin 0 -> 4136 bytes macros/FunctionAnnotation/FA_TP_INT8.bin | Bin 0 -> 4124 bytes macros/FunctionAnnotation/FA_TP_MAX.bin | Bin 0 -> 5028 bytes macros/FunctionAnnotation/FA_TP_MIN_REAL.bin | Bin 0 -> 3512 bytes macros/FunctionAnnotation/FA_TP_REAL.bin | Bin 0 -> 4036 bytes macros/FunctionAnnotation/FA_TP_S.bin | Bin 0 -> 3216 bytes macros/FunctionAnnotation/FA_TP_UINT16.bin | Bin 0 -> 4144 bytes macros/FunctionAnnotation/FA_TP_UINT8.bin | Bin 0 -> 4132 bytes macros/FunctionAnnotation/FA_TP_USER.bin | Bin 0 -> 5172 bytes macros/FunctionAnnotation/FA_TP_Z.bin | Bin 0 -> 3252 bytes macros/FunctionAnnotation/lib | Bin 7053 -> 2148 bytes macros/FunctionList/FL_ExistCFunction.bin | Bin 0 -> 12304 bytes macros/FunctionList/FL_ExtractFuncList.bin | Bin 0 -> 7828 bytes macros/FunctionList/FL_GetFunctionClass.bin | Bin 0 -> 6832 bytes macros/FunctionList/FL_InOutArgs2CFunNames.bin | Bin 0 -> 6452 bytes macros/FunctionList/FL_UpdateConverted.bin | Bin 0 -> 5572 bytes macros/FunctionList/FL_UpdateToBeConv.bin | Bin 0 -> 14628 bytes macros/FunctionList/lib | Bin 741 -> 492 bytes macros/GeneralFunctions/Array2String.bin | Bin 0 -> 4840 bytes macros/GeneralFunctions/ConvertPathMat2C.bin | Bin 0 -> 9208 bytes macros/GeneralFunctions/File2StringArray.bin | Bin 0 -> 5808 bytes macros/GeneralFunctions/FunName2SciFileName.bin | Bin 0 -> 6964 bytes macros/GeneralFunctions/IsNanSize.bin | Bin 0 -> 4344 bytes macros/GeneralFunctions/KeyStr2FileStrPos.bin | Bin 0 -> 10872 bytes macros/GeneralFunctions/PrintStepInfo.bin | Bin 0 -> 7356 bytes macros/GeneralFunctions/PrintStringInfo.bin | Bin 0 -> 8556 bytes macros/GeneralFunctions/ReadStringCard.bin | Bin 0 -> 7752 bytes macros/GeneralFunctions/SCI2CCreateDir.bin | Bin 0 -> 3316 bytes macros/GeneralFunctions/SCI2CFindFile.bin | Bin 0 -> 4344 bytes macros/GeneralFunctions/SCI2CNInArgCheck.bin | Bin 0 -> 3144 bytes macros/GeneralFunctions/SCI2COpenFileRead.bin | Bin 0 -> 3424 bytes macros/GeneralFunctions/SCI2COpenFileWrite.bin | Bin 0 -> 3476 bytes macros/GeneralFunctions/SCI2CTemplate.bin | Bin 0 -> 3536 bytes macros/GeneralFunctions/SCI2Ccopyfile.bin | Bin 0 -> 5712 bytes macros/GeneralFunctions/SCI2Cfileexist.bin | Bin 0 -> 4212 bytes macros/GeneralFunctions/SCI2Cflipud.bin | Bin 0 -> 4436 bytes macros/GeneralFunctions/SCI2Cmdelete.bin | Bin 0 -> 4132 bytes macros/GeneralFunctions/SCI2Cresize.bin | Bin 0 -> 3972 bytes macros/GeneralFunctions/SCI2Cstring.bin | Bin 0 -> 3608 bytes macros/GeneralFunctions/SCI2Cstrncmp.bin | Bin 0 -> 3684 bytes macros/GeneralFunctions/SCI2Cstrncmps1size.bin | Bin 0 -> 4056 bytes macros/GeneralFunctions/SizeInByte.bin | Bin 0 -> 4128 bytes macros/GeneralFunctions/dispina.bin | Bin 0 -> 4912 bytes macros/GeneralFunctions/filenamefprintf.bin | Bin 0 -> 6576 bytes macros/GeneralFunctions/float.bin | Bin 0 -> 2504 bytes macros/GeneralFunctions/lib | Bin 2809 -> 1036 bytes macros/GeneralFunctions/squeezestrings.bin | Bin 0 -> 3256 bytes macros/Hardware/AVR/AVRADCSetup.bin | Bin 0 -> 5212 bytes macros/Hardware/AVR/AVRDigitalIn.bin | Bin 0 -> 4864 bytes macros/Hardware/AVR/AVRDigitalOut.bin | Bin 0 -> 5376 bytes macros/Hardware/AVR/AVRDigitalPortSetup.bin | Bin 0 -> 5188 bytes macros/Hardware/AVR/AVRDigitalSetup.bin | Bin 0 -> 5584 bytes macros/Hardware/AVR/AVRGetTimerValue.bin | Bin 0 -> 3256 bytes macros/Hardware/AVR/AVRPWM0SetDuty.bin | Bin 0 -> 3536 bytes macros/Hardware/AVR/AVRPWM0Setup.bin | Bin 0 -> 8196 bytes macros/Hardware/AVR/AVRPWM1SetDuty.bin | Bin 0 -> 6764 bytes macros/Hardware/AVR/AVRPWM1Setup.bin | Bin 0 -> 10604 bytes macros/Hardware/AVR/AVRPWM2SetDuty.bin | Bin 0 -> 3580 bytes macros/Hardware/AVR/AVRPWM2Setup.bin | Bin 0 -> 8464 bytes macros/Hardware/AVR/AVRReadADC.bin | Bin 0 -> 4896 bytes macros/Hardware/AVR/AVRSleep.bin | Bin 0 -> 88 bytes macros/Hardware/AVR/AVRTimerSetup.bin | Bin 0 -> 7880 bytes macros/Hardware/AVR/AVRUARTReceive.bin | Bin 0 -> 2504 bytes macros/Hardware/AVR/AVRUARTSetup.bin | Bin 0 -> 8212 bytes macros/Hardware/AVR/AVRUARTTransmit.bin | Bin 0 -> 2756 bytes macros/Hardware/AVR/GetAVRSupportFunctions.bin | Bin 0 -> 2516 bytes macros/Hardware/AVR/GetPeripheral.bin | Bin 0 -> 2364 bytes macros/Hardware/AVR/InsertPeripheralInList.bin | Bin 0 -> 1928 bytes macros/Hardware/AVR/IsAVRSupportFunction.bin | Bin 0 -> 2712 bytes macros/Hardware/AVR/lib | Bin 2265 -> 876 bytes .../Hardware/RasberryPi/GetRPISupportFunctions.bin | Bin 0 -> 4760 bytes .../Hardware/RasberryPi/IsRPISupportFunction.bin | Bin 0 -> 4292 bytes macros/Hardware/RasberryPi/RPI_DelayMicro.bin | Bin 0 -> 3280 bytes macros/Hardware/RasberryPi/RPI_DelayMilli.bin | Bin 0 -> 3596 bytes macros/Hardware/RasberryPi/RPI_DigitalIn.bin | Bin 0 -> 5264 bytes macros/Hardware/RasberryPi/RPI_DigitalOut.bin | Bin 0 -> 5352 bytes macros/Hardware/RasberryPi/RPI_DigitalSetup.bin | Bin 0 -> 5336 bytes macros/Hardware/RasberryPi/RPI_GetMicros.bin | Bin 0 -> 3568 bytes macros/Hardware/RasberryPi/RPI_GetMillis.bin | Bin 0 -> 3556 bytes macros/Hardware/RasberryPi/RPI_HardPWMSetClock.bin | Bin 0 -> 3488 bytes macros/Hardware/RasberryPi/RPI_HardPWMSetMode.bin | Bin 0 -> 2448 bytes macros/Hardware/RasberryPi/RPI_HardPWMSetRange.bin | Bin 0 -> 3340 bytes macros/Hardware/RasberryPi/RPI_HardPWMWrite.bin | Bin 0 -> 4628 bytes macros/Hardware/RasberryPi/RPI_PinISR.bin | Bin 0 -> 6952 bytes macros/Hardware/RasberryPi/RPI_SerialClose.bin | Bin 0 -> 2724 bytes macros/Hardware/RasberryPi/RPI_SerialFlush.bin | Bin 0 -> 3120 bytes macros/Hardware/RasberryPi/RPI_SerialGetChar.bin | Bin 0 -> 3404 bytes macros/Hardware/RasberryPi/RPI_SerialSendChar.bin | Bin 0 -> 3344 bytes macros/Hardware/RasberryPi/RPI_SerialSendData.bin | Bin 0 -> 3344 bytes macros/Hardware/RasberryPi/RPI_SerialSetup.bin | Bin 0 -> 3356 bytes macros/Hardware/RasberryPi/lib | Bin 2037 -> 880 bytes .../Hardware/RasberryPi/u16RPISerialDataAvail.bin | Bin 0 -> 3520 bytes macros/ImageProcessing/core/CV_CreateImage.bin | Bin 0 -> 3604 bytes macros/ImageProcessing/core/CV_GetImgSize.bin | Bin 0 -> 2764 bytes macros/ImageProcessing/core/lib | Bin 293 -> 428 bytes macros/ImageProcessing/highgui/CV_LoadImage.bin | Bin 0 -> 2996 bytes macros/ImageProcessing/highgui/CV_SaveImage.bin | Bin 0 -> 2732 bytes macros/ImageProcessing/highgui/CV_ShowImage.bin | Bin 0 -> 2592 bytes macros/ImageProcessing/highgui/CV_WaitKey.bin | Bin 0 -> 2528 bytes macros/ImageProcessing/highgui/lib | Bin 471 -> 488 bytes .../imgproc/CV_AdaptiveThreshold.bin | Bin 0 -> 5504 bytes macros/ImageProcessing/imgproc/CV_Blur.bin | Bin 0 -> 5044 bytes macros/ImageProcessing/imgproc/CV_Canny.bin | Bin 0 -> 5220 bytes macros/ImageProcessing/imgproc/CV_CornerHarris.bin | Bin 0 -> 6200 bytes macros/ImageProcessing/imgproc/CV_CvtColor.bin | Bin 0 -> 3952 bytes macros/ImageProcessing/imgproc/CV_Dilate.bin | Bin 0 -> 6936 bytes .../imgproc/CV_DistanceTransform.bin | Bin 0 -> 4012 bytes macros/ImageProcessing/imgproc/CV_Erode.bin | Bin 0 -> 6880 bytes macros/ImageProcessing/imgproc/CV_GaussianBlur.bin | Bin 0 -> 6004 bytes macros/ImageProcessing/imgproc/CV_MedianBlur.bin | Bin 0 -> 3936 bytes macros/ImageProcessing/imgproc/CV_Threshold.bin | Bin 0 -> 4052 bytes macros/ImageProcessing/imgproc/lib | Bin 1145 -> 656 bytes macros/Scilab-Arduino/GenerateSetupFunction.bin | Bin 0 -> 6136 bytes macros/Scilab-Arduino/GetArduinoFunctions.bin | Bin 0 -> 2100 bytes macros/Scilab-Arduino/GetArduinoSetupFunctions.bin | Bin 0 -> 1640 bytes macros/Scilab-Arduino/InsertSetupInList.bin | Bin 0 -> 8832 bytes macros/Scilab-Arduino/IsArduinoFunction.bin | Bin 0 -> 2664 bytes macros/Scilab-Arduino/IsArduinoSetupFunction.bin | Bin 0 -> 2712 bytes macros/Scilab-Arduino/lib | Bin 759 -> 500 bytes macros/SymbolTable/ST_AnalyzeScope.bin | Bin 0 -> 16792 bytes macros/SymbolTable/ST_Del.bin | Bin 0 -> 4552 bytes macros/SymbolTable/ST_FindPos.bin | Bin 0 -> 5104 bytes macros/SymbolTable/ST_Get.bin | Bin 0 -> 8108 bytes macros/SymbolTable/ST_GetInArgInfo.bin | Bin 0 -> 37384 bytes macros/SymbolTable/ST_GetSymbolInfo.bin | Bin 0 -> 13320 bytes macros/SymbolTable/ST_InsForCntVars.bin | Bin 0 -> 25508 bytes macros/SymbolTable/ST_InsOutArg.bin | Bin 0 -> 33516 bytes macros/SymbolTable/ST_Load.bin | Bin 0 -> 4288 bytes macros/SymbolTable/ST_MatchSymbol.bin | Bin 0 -> 9112 bytes macros/SymbolTable/ST_Save.bin | Bin 0 -> 5440 bytes macros/SymbolTable/ST_Set.bin | Bin 0 -> 7048 bytes macros/SymbolTable/lib | Bin 1199 -> 632 bytes macros/ToolInitialization/INIT_CreateDirs.bin | Bin 0 -> 8900 bytes .../ToolInitialization/INIT_FillSCI2LibCDirs.bin | Bin 0 -> 1639588 bytes .../ToolInitialization/INIT_FillSCI2LibCDirs.sci | 232 +++++++++++++++++++++ .../ToolInitialization/INIT_GenAnnFLFunctions.bin | Bin 0 -> 3460 bytes macros/ToolInitialization/INIT_GenFileInfo.bin | Bin 0 -> 19628 bytes macros/ToolInitialization/INIT_GenLibraries.bin | Bin 0 -> 8556 bytes macros/ToolInitialization/INIT_GenSharedInfo.bin | Bin 0 -> 21060 bytes macros/ToolInitialization/INIT_LoadLibraries.bin | Bin 0 -> 8940 bytes macros/ToolInitialization/INIT_RemoveDirs.bin | Bin 0 -> 12532 bytes macros/ToolInitialization/INIT_SCI2C.bin | Bin 0 -> 24416 bytes macros/ToolInitialization/INIT_SharedInfoEqual.bin | Bin 0 -> 6500 bytes macros/ToolInitialization/ManageNextConversion.bin | Bin 0 -> 11016 bytes macros/ToolInitialization/UpdateSCI2CInfo.bin | Bin 0 -> 38684 bytes macros/ToolInitialization/doublecomplex.bin | Bin 0 -> 2888 bytes macros/ToolInitialization/floatcomplex.bin | Bin 0 -> 2648 bytes macros/ToolInitialization/lib | Bin 1543 -> 708 bytes macros/cb_sci2c_gui.bin | Bin 0 -> 18548 bytes macros/findDeps/Scilab2CDeps.bin | Bin 0 -> 101536 bytes macros/findDeps/findDeps.bin | Bin 0 -> 5400 bytes macros/findDeps/getAllHeaders.bin | Bin 0 -> 42752 bytes macros/findDeps/getAllHeaders.sci | 7 + macros/findDeps/getAllInterfaces.bin | Bin 0 -> 45324 bytes macros/findDeps/getAllInterfaces.sci | 7 + macros/findDeps/getAllLibraries.bin | Bin 0 -> 10396 bytes macros/findDeps/getAllSources.bin | Bin 0 -> 251248 bytes macros/findDeps/getAllSources.sci | 13 ++ macros/findDeps/getArduinoFiles.bin | Bin 0 -> 2036 bytes macros/findDeps/lib | Bin 679 -> 500 bytes macros/getScilab2cVersion.bin | Bin 0 -> 144 bytes macros/lib | Bin 649 -> 440 bytes macros/runsci2c.bin | Bin 0 -> 32652 bytes macros/runsci2c.sci | 4 +- macros/runscicode.bin | Bin 0 -> 8240 bytes macros/sci2c_gui.bin | Bin 0 -> 58664 bytes macros/scilab2c.bin | Bin 0 -> 19988 bytes 331 files changed, 505 insertions(+), 93 deletions(-) create mode 100644 macros/ASTManagement/%comment_string.bin create mode 100644 macros/ASTManagement/%cste_string.bin create mode 100644 macros/ASTManagement/%equal_string.bin create mode 100644 macros/ASTManagement/%for_string.bin create mode 100644 macros/ASTManagement/%funcall_string.bin create mode 100644 macros/ASTManagement/%ifthenel_string.bin create mode 100644 macros/ASTManagement/%ifthenelse_string.bin create mode 100644 macros/ASTManagement/%operatio_string.bin create mode 100644 macros/ASTManagement/%operation_string.bin create mode 100644 macros/ASTManagement/%program_p.bin create mode 100644 macros/ASTManagement/%program_string.bin create mode 100644 macros/ASTManagement/%variable_string.bin create mode 100644 macros/ASTManagement/%while_string.bin create mode 100644 macros/ASTManagement/AST2Ccode.bin create mode 100644 macros/ASTManagement/AST_CheckCommonInOutArgs.bin create mode 100644 macros/ASTManagement/AST_CheckLastFunc.bin create mode 100644 macros/ASTManagement/AST_CheckLineLength.bin create mode 100644 macros/ASTManagement/AST_CheckPrecSpecifier.bin create mode 100644 macros/ASTManagement/AST_DisplayStack.bin create mode 100644 macros/ASTManagement/AST_ExtractNameAndScope.bin create mode 100644 macros/ASTManagement/AST_GetASTFile.bin create mode 100644 macros/ASTManagement/AST_GetFuncallPrm.bin create mode 100644 macros/ASTManagement/AST_GetPrecAndLhsArg.bin create mode 100644 macros/ASTManagement/AST_HandleEOL.bin create mode 100644 macros/ASTManagement/AST_HandleEndFor.bin create mode 100644 macros/ASTManagement/AST_HandleEndGenFun.bin create mode 100644 macros/ASTManagement/AST_HandleEndProgram.bin create mode 100644 macros/ASTManagement/AST_HandleEndWhile.bin create mode 100644 macros/ASTManagement/AST_HandleFor.bin create mode 100644 macros/ASTManagement/AST_HandleForStatem.bin create mode 100644 macros/ASTManagement/AST_HandleHeader.bin create mode 100644 macros/ASTManagement/AST_HandleIfElse.bin create mode 100644 macros/ASTManagement/AST_HandleWhileExpr.bin create mode 100644 macros/ASTManagement/AST_HandleWhileStatem.bin create mode 100644 macros/ASTManagement/AST_ParseEqualStruct.bin create mode 100644 macros/ASTManagement/AST_ParseFuncallStruct.bin create mode 100644 macros/ASTManagement/AST_ParseIfExprStruct.bin create mode 100644 macros/ASTManagement/AST_ParseOperStruct.bin create mode 100644 macros/ASTManagement/AST_PopASTStack.bin create mode 100644 macros/ASTManagement/AST_PushASTStack.bin create mode 100644 macros/ASTManagement/AST_ReadASTHeader.bin create mode 100644 macros/ASTManagement/AST_ReadEqualRhsNames.bin create mode 100644 macros/ASTManagement/GenOutArgNames.bin create mode 100644 macros/ASTManagement/Operator2FunName.bin create mode 100644 macros/ASTManagement/SciFile2ASTFile.bin create mode 100644 macros/ASTManagement/_comment_string.bin create mode 100644 macros/ASTManagement/_cste_string.bin create mode 100644 macros/ASTManagement/_equal_string.bin create mode 100644 macros/ASTManagement/_for_string.bin create mode 100644 macros/ASTManagement/_funcall_string.bin create mode 100644 macros/ASTManagement/_ifthenel_string.bin create mode 100644 macros/ASTManagement/_ifthenelse_string.bin create mode 100644 macros/ASTManagement/_operatio_string.bin create mode 100644 macros/ASTManagement/_operation_string.bin create mode 100644 macros/ASTManagement/_program_p.bin create mode 100644 macros/ASTManagement/_program_string.bin create mode 100644 macros/ASTManagement/_variable_string.bin create mode 100644 macros/ASTManagement/_while_string.bin create mode 100644 macros/ASTManagement/objectlist2string.bin create mode 100644 macros/CCodeGeneration/C_FinalizeCode.bin create mode 100644 macros/CCodeGeneration/C_ForExpression.bin create mode 100644 macros/CCodeGeneration/C_Funcall.bin create mode 100644 macros/CCodeGeneration/C_GenDeclarations.bin create mode 100644 macros/CCodeGeneration/C_GenerateFunName.bin create mode 100644 macros/CCodeGeneration/C_GenerateLaunchScript.bin create mode 100644 macros/CCodeGeneration/C_GenerateMakefile.bin create mode 100644 macros/CCodeGeneration/C_GenerateMakefile_msvc.bin create mode 100644 macros/CCodeGeneration/C_GenerateSCI2CHeader.bin create mode 100644 macros/CCodeGeneration/C_IfElseBlocks.bin create mode 100644 macros/CCodeGeneration/C_IfExpression.bin create mode 100644 macros/CCodeGeneration/C_IndentBlanks.bin create mode 100644 macros/CCodeGeneration/C_InitHeader.bin create mode 100644 macros/CCodeGeneration/C_MemAllocOutTempVars.bin create mode 100644 macros/CCodeGeneration/C_SCI2CHeader.bin create mode 100644 macros/CCodeGeneration/C_Type.bin create mode 100644 macros/CCodeGeneration/C_WhileExpression.bin create mode 100644 macros/CCodeGeneration/GenCFunDatFiles.bin create mode 100644 macros/CCodeGeneration/GetClsFileName.bin create mode 100644 macros/CCodeGeneration/GetSymbolDimension.bin create mode 100644 macros/CCodeGeneration/GetWhileCondVariable.bin create mode 100644 macros/CCodeGeneration/JoinDeclarAndCcode.bin create mode 100644 macros/CCodeGeneration/Sci2AnnotationFile.bin create mode 100644 macros/ErrorMessages/EM_NanSize.bin create mode 100644 macros/ErrorMessages/EM_UnknownStep.bin create mode 100644 macros/ErrorMessages/EM_ZeroSize.bin create mode 100644 macros/FunctionAnnotation/FA_ADD.bin create mode 100644 macros/FunctionAnnotation/FA_DIV.bin create mode 100644 macros/FunctionAnnotation/FA_GetDefaultPrecision.bin create mode 100644 macros/FunctionAnnotation/FA_GetFunAnn.bin create mode 100644 macros/FunctionAnnotation/FA_GetOutArgInfo.bin create mode 100644 macros/FunctionAnnotation/FA_GetResizeApproach.bin create mode 100644 macros/FunctionAnnotation/FA_INT.bin create mode 100644 macros/FunctionAnnotation/FA_MAX.bin create mode 100644 macros/FunctionAnnotation/FA_MIN.bin create mode 100644 macros/FunctionAnnotation/FA_MUL.bin create mode 100644 macros/FunctionAnnotation/FA_REAL.bin create mode 100644 macros/FunctionAnnotation/FA_SCHUR_SZ.bin create mode 100644 macros/FunctionAnnotation/FA_SCHUR_TP.bin create mode 100644 macros/FunctionAnnotation/FA_SUB.bin create mode 100644 macros/FunctionAnnotation/FA_SZ_1.bin create mode 100644 macros/FunctionAnnotation/FA_SZ_2.bin create mode 100644 macros/FunctionAnnotation/FA_SZ_COLUMN_DIAG.bin create mode 100644 macros/FunctionAnnotation/FA_SZ_COL_DIAG_IN_EX.bin create mode 100644 macros/FunctionAnnotation/FA_SZ_DEC2BASE.bin create mode 100644 macros/FunctionAnnotation/FA_SZ_DEC2BIN.bin create mode 100644 macros/FunctionAnnotation/FA_SZ_DEC2HEX.bin create mode 100644 macros/FunctionAnnotation/FA_SZ_DEC2OCT.bin create mode 100644 macros/FunctionAnnotation/FA_SZ_DIFF.bin create mode 100644 macros/FunctionAnnotation/FA_SZ_FACTOR.bin create mode 100644 macros/FunctionAnnotation/FA_SZ_FROM_VAL.bin create mode 100644 macros/FunctionAnnotation/FA_SZ_LINSPACE_ROW.bin create mode 100644 macros/FunctionAnnotation/FA_SZ_LQE.bin create mode 100644 macros/FunctionAnnotation/FA_SZ_LQR.bin create mode 100644 macros/FunctionAnnotation/FA_SZ_OBSCNT.bin create mode 100644 macros/FunctionAnnotation/FA_SZ_OPAPEX.bin create mode 100644 macros/FunctionAnnotation/FA_SZ_OPBACKSLASH.bin create mode 100644 macros/FunctionAnnotation/FA_SZ_OPCC.bin create mode 100644 macros/FunctionAnnotation/FA_SZ_OPDOTAPEX.bin create mode 100644 macros/FunctionAnnotation/FA_SZ_OPDOTBACKSLASH.bin create mode 100644 macros/FunctionAnnotation/FA_SZ_OPDOTHAT.bin create mode 100644 macros/FunctionAnnotation/FA_SZ_OPDOTSLASH.bin create mode 100644 macros/FunctionAnnotation/FA_SZ_OPDOTSTAR.bin create mode 100644 macros/FunctionAnnotation/FA_SZ_OPHAT.bin create mode 100644 macros/FunctionAnnotation/FA_SZ_OPLOGAND.bin create mode 100644 macros/FunctionAnnotation/FA_SZ_OPLOGEQ.bin create mode 100644 macros/FunctionAnnotation/FA_SZ_OPLOGGE.bin create mode 100644 macros/FunctionAnnotation/FA_SZ_OPLOGGT.bin create mode 100644 macros/FunctionAnnotation/FA_SZ_OPLOGLE.bin create mode 100644 macros/FunctionAnnotation/FA_SZ_OPLOGLT.bin create mode 100644 macros/FunctionAnnotation/FA_SZ_OPLOGNE.bin create mode 100644 macros/FunctionAnnotation/FA_SZ_OPLOGNOT.bin create mode 100644 macros/FunctionAnnotation/FA_SZ_OPLOGOR.bin create mode 100644 macros/FunctionAnnotation/FA_SZ_OPMINUS.bin create mode 100644 macros/FunctionAnnotation/FA_SZ_OPPLUS.bin create mode 100644 macros/FunctionAnnotation/FA_SZ_OPPLUSA.bin create mode 100644 macros/FunctionAnnotation/FA_SZ_OPRC.bin create mode 100644 macros/FunctionAnnotation/FA_SZ_OPSLASH.bin create mode 100644 macros/FunctionAnnotation/FA_SZ_OPSTAR.bin create mode 100644 macros/FunctionAnnotation/FA_SZ_PRIMES.bin create mode 100644 macros/FunctionAnnotation/FA_SZ_ROW_COLUMN_CAT.bin create mode 100644 macros/FunctionAnnotation/FA_SZ_ROW_DIAG.bin create mode 100644 macros/FunctionAnnotation/FA_SZ_ROW_DIAG_INS_EXT.bin create mode 100644 macros/FunctionAnnotation/FA_SZ_SEL1.bin create mode 100644 macros/FunctionAnnotation/FA_SZ_SEL2.bin create mode 100644 macros/FunctionAnnotation/FA_TP_C.bin create mode 100644 macros/FunctionAnnotation/FA_TP_COMPLEX.bin create mode 100644 macros/FunctionAnnotation/FA_TP_CVIMAGE.bin create mode 100644 macros/FunctionAnnotation/FA_TP_D.bin create mode 100644 macros/FunctionAnnotation/FA_TP_I.bin create mode 100644 macros/FunctionAnnotation/FA_TP_INT16.bin create mode 100644 macros/FunctionAnnotation/FA_TP_INT8.bin create mode 100644 macros/FunctionAnnotation/FA_TP_MAX.bin create mode 100644 macros/FunctionAnnotation/FA_TP_MIN_REAL.bin create mode 100644 macros/FunctionAnnotation/FA_TP_REAL.bin create mode 100644 macros/FunctionAnnotation/FA_TP_S.bin create mode 100644 macros/FunctionAnnotation/FA_TP_UINT16.bin create mode 100644 macros/FunctionAnnotation/FA_TP_UINT8.bin create mode 100644 macros/FunctionAnnotation/FA_TP_USER.bin create mode 100644 macros/FunctionAnnotation/FA_TP_Z.bin create mode 100644 macros/FunctionList/FL_ExistCFunction.bin create mode 100644 macros/FunctionList/FL_ExtractFuncList.bin create mode 100644 macros/FunctionList/FL_GetFunctionClass.bin create mode 100644 macros/FunctionList/FL_InOutArgs2CFunNames.bin create mode 100644 macros/FunctionList/FL_UpdateConverted.bin create mode 100644 macros/FunctionList/FL_UpdateToBeConv.bin create mode 100644 macros/GeneralFunctions/Array2String.bin create mode 100644 macros/GeneralFunctions/ConvertPathMat2C.bin create mode 100644 macros/GeneralFunctions/File2StringArray.bin create mode 100644 macros/GeneralFunctions/FunName2SciFileName.bin create mode 100644 macros/GeneralFunctions/IsNanSize.bin create mode 100644 macros/GeneralFunctions/KeyStr2FileStrPos.bin create mode 100644 macros/GeneralFunctions/PrintStepInfo.bin create mode 100644 macros/GeneralFunctions/PrintStringInfo.bin create mode 100644 macros/GeneralFunctions/ReadStringCard.bin create mode 100644 macros/GeneralFunctions/SCI2CCreateDir.bin create mode 100644 macros/GeneralFunctions/SCI2CFindFile.bin create mode 100644 macros/GeneralFunctions/SCI2CNInArgCheck.bin create mode 100644 macros/GeneralFunctions/SCI2COpenFileRead.bin create mode 100644 macros/GeneralFunctions/SCI2COpenFileWrite.bin create mode 100644 macros/GeneralFunctions/SCI2CTemplate.bin create mode 100644 macros/GeneralFunctions/SCI2Ccopyfile.bin create mode 100644 macros/GeneralFunctions/SCI2Cfileexist.bin create mode 100644 macros/GeneralFunctions/SCI2Cflipud.bin create mode 100644 macros/GeneralFunctions/SCI2Cmdelete.bin create mode 100644 macros/GeneralFunctions/SCI2Cresize.bin create mode 100644 macros/GeneralFunctions/SCI2Cstring.bin create mode 100644 macros/GeneralFunctions/SCI2Cstrncmp.bin create mode 100644 macros/GeneralFunctions/SCI2Cstrncmps1size.bin create mode 100644 macros/GeneralFunctions/SizeInByte.bin create mode 100644 macros/GeneralFunctions/dispina.bin create mode 100644 macros/GeneralFunctions/filenamefprintf.bin create mode 100644 macros/GeneralFunctions/float.bin create mode 100644 macros/GeneralFunctions/squeezestrings.bin create mode 100644 macros/Hardware/AVR/AVRADCSetup.bin create mode 100644 macros/Hardware/AVR/AVRDigitalIn.bin create mode 100644 macros/Hardware/AVR/AVRDigitalOut.bin create mode 100644 macros/Hardware/AVR/AVRDigitalPortSetup.bin create mode 100644 macros/Hardware/AVR/AVRDigitalSetup.bin create mode 100644 macros/Hardware/AVR/AVRGetTimerValue.bin create mode 100644 macros/Hardware/AVR/AVRPWM0SetDuty.bin create mode 100644 macros/Hardware/AVR/AVRPWM0Setup.bin create mode 100644 macros/Hardware/AVR/AVRPWM1SetDuty.bin create mode 100644 macros/Hardware/AVR/AVRPWM1Setup.bin create mode 100644 macros/Hardware/AVR/AVRPWM2SetDuty.bin create mode 100644 macros/Hardware/AVR/AVRPWM2Setup.bin create mode 100644 macros/Hardware/AVR/AVRReadADC.bin create mode 100644 macros/Hardware/AVR/AVRSleep.bin create mode 100644 macros/Hardware/AVR/AVRTimerSetup.bin create mode 100644 macros/Hardware/AVR/AVRUARTReceive.bin create mode 100644 macros/Hardware/AVR/AVRUARTSetup.bin create mode 100644 macros/Hardware/AVR/AVRUARTTransmit.bin create mode 100644 macros/Hardware/AVR/GetAVRSupportFunctions.bin create mode 100644 macros/Hardware/AVR/GetPeripheral.bin create mode 100644 macros/Hardware/AVR/InsertPeripheralInList.bin create mode 100644 macros/Hardware/AVR/IsAVRSupportFunction.bin create mode 100644 macros/Hardware/RasberryPi/GetRPISupportFunctions.bin create mode 100644 macros/Hardware/RasberryPi/IsRPISupportFunction.bin create mode 100644 macros/Hardware/RasberryPi/RPI_DelayMicro.bin create mode 100644 macros/Hardware/RasberryPi/RPI_DelayMilli.bin create mode 100644 macros/Hardware/RasberryPi/RPI_DigitalIn.bin create mode 100644 macros/Hardware/RasberryPi/RPI_DigitalOut.bin create mode 100644 macros/Hardware/RasberryPi/RPI_DigitalSetup.bin create mode 100644 macros/Hardware/RasberryPi/RPI_GetMicros.bin create mode 100644 macros/Hardware/RasberryPi/RPI_GetMillis.bin create mode 100644 macros/Hardware/RasberryPi/RPI_HardPWMSetClock.bin create mode 100644 macros/Hardware/RasberryPi/RPI_HardPWMSetMode.bin create mode 100644 macros/Hardware/RasberryPi/RPI_HardPWMSetRange.bin create mode 100644 macros/Hardware/RasberryPi/RPI_HardPWMWrite.bin create mode 100644 macros/Hardware/RasberryPi/RPI_PinISR.bin create mode 100644 macros/Hardware/RasberryPi/RPI_SerialClose.bin create mode 100644 macros/Hardware/RasberryPi/RPI_SerialFlush.bin create mode 100644 macros/Hardware/RasberryPi/RPI_SerialGetChar.bin create mode 100644 macros/Hardware/RasberryPi/RPI_SerialSendChar.bin create mode 100644 macros/Hardware/RasberryPi/RPI_SerialSendData.bin create mode 100644 macros/Hardware/RasberryPi/RPI_SerialSetup.bin create mode 100644 macros/Hardware/RasberryPi/u16RPISerialDataAvail.bin create mode 100644 macros/ImageProcessing/core/CV_CreateImage.bin create mode 100644 macros/ImageProcessing/core/CV_GetImgSize.bin create mode 100644 macros/ImageProcessing/highgui/CV_LoadImage.bin create mode 100644 macros/ImageProcessing/highgui/CV_SaveImage.bin create mode 100644 macros/ImageProcessing/highgui/CV_ShowImage.bin create mode 100644 macros/ImageProcessing/highgui/CV_WaitKey.bin create mode 100644 macros/ImageProcessing/imgproc/CV_AdaptiveThreshold.bin create mode 100644 macros/ImageProcessing/imgproc/CV_Blur.bin create mode 100644 macros/ImageProcessing/imgproc/CV_Canny.bin create mode 100644 macros/ImageProcessing/imgproc/CV_CornerHarris.bin create mode 100644 macros/ImageProcessing/imgproc/CV_CvtColor.bin create mode 100644 macros/ImageProcessing/imgproc/CV_Dilate.bin create mode 100644 macros/ImageProcessing/imgproc/CV_DistanceTransform.bin create mode 100644 macros/ImageProcessing/imgproc/CV_Erode.bin create mode 100644 macros/ImageProcessing/imgproc/CV_GaussianBlur.bin create mode 100644 macros/ImageProcessing/imgproc/CV_MedianBlur.bin create mode 100644 macros/ImageProcessing/imgproc/CV_Threshold.bin create mode 100644 macros/Scilab-Arduino/GenerateSetupFunction.bin create mode 100644 macros/Scilab-Arduino/GetArduinoFunctions.bin create mode 100644 macros/Scilab-Arduino/GetArduinoSetupFunctions.bin create mode 100644 macros/Scilab-Arduino/InsertSetupInList.bin create mode 100644 macros/Scilab-Arduino/IsArduinoFunction.bin create mode 100644 macros/Scilab-Arduino/IsArduinoSetupFunction.bin create mode 100644 macros/SymbolTable/ST_AnalyzeScope.bin create mode 100644 macros/SymbolTable/ST_Del.bin create mode 100644 macros/SymbolTable/ST_FindPos.bin create mode 100644 macros/SymbolTable/ST_Get.bin create mode 100644 macros/SymbolTable/ST_GetInArgInfo.bin create mode 100644 macros/SymbolTable/ST_GetSymbolInfo.bin create mode 100644 macros/SymbolTable/ST_InsForCntVars.bin create mode 100644 macros/SymbolTable/ST_InsOutArg.bin create mode 100644 macros/SymbolTable/ST_Load.bin create mode 100644 macros/SymbolTable/ST_MatchSymbol.bin create mode 100644 macros/SymbolTable/ST_Save.bin create mode 100644 macros/SymbolTable/ST_Set.bin create mode 100644 macros/ToolInitialization/INIT_CreateDirs.bin create mode 100644 macros/ToolInitialization/INIT_FillSCI2LibCDirs.bin create mode 100644 macros/ToolInitialization/INIT_GenAnnFLFunctions.bin create mode 100644 macros/ToolInitialization/INIT_GenFileInfo.bin create mode 100644 macros/ToolInitialization/INIT_GenLibraries.bin create mode 100644 macros/ToolInitialization/INIT_GenSharedInfo.bin create mode 100644 macros/ToolInitialization/INIT_LoadLibraries.bin create mode 100644 macros/ToolInitialization/INIT_RemoveDirs.bin create mode 100644 macros/ToolInitialization/INIT_SCI2C.bin create mode 100644 macros/ToolInitialization/INIT_SharedInfoEqual.bin create mode 100644 macros/ToolInitialization/ManageNextConversion.bin create mode 100644 macros/ToolInitialization/UpdateSCI2CInfo.bin create mode 100644 macros/ToolInitialization/doublecomplex.bin create mode 100644 macros/ToolInitialization/floatcomplex.bin create mode 100644 macros/cb_sci2c_gui.bin create mode 100644 macros/findDeps/Scilab2CDeps.bin create mode 100644 macros/findDeps/findDeps.bin create mode 100644 macros/findDeps/getAllHeaders.bin create mode 100644 macros/findDeps/getAllInterfaces.bin create mode 100644 macros/findDeps/getAllLibraries.bin create mode 100644 macros/findDeps/getAllSources.bin create mode 100644 macros/findDeps/getArduinoFiles.bin create mode 100644 macros/getScilab2cVersion.bin create mode 100644 macros/runsci2c.bin create mode 100644 macros/runscicode.bin create mode 100644 macros/sci2c_gui.bin create mode 100644 macros/scilab2c.bin (limited to 'macros') diff --git a/macros/ASTManagement/%comment_string.bin b/macros/ASTManagement/%comment_string.bin new file mode 100644 index 0000000..fb89494 Binary files /dev/null and b/macros/ASTManagement/%comment_string.bin differ diff --git a/macros/ASTManagement/%cste_string.bin b/macros/ASTManagement/%cste_string.bin new file mode 100644 index 0000000..ba643c4 Binary files /dev/null and b/macros/ASTManagement/%cste_string.bin differ diff --git a/macros/ASTManagement/%equal_string.bin b/macros/ASTManagement/%equal_string.bin new file mode 100644 index 0000000..7f88fee Binary files /dev/null and b/macros/ASTManagement/%equal_string.bin differ diff --git a/macros/ASTManagement/%for_string.bin b/macros/ASTManagement/%for_string.bin new file mode 100644 index 0000000..c3fda16 Binary files /dev/null and b/macros/ASTManagement/%for_string.bin differ diff --git a/macros/ASTManagement/%funcall_string.bin b/macros/ASTManagement/%funcall_string.bin new file mode 100644 index 0000000..8354586 Binary files /dev/null and b/macros/ASTManagement/%funcall_string.bin differ diff --git a/macros/ASTManagement/%ifthenel_string.bin b/macros/ASTManagement/%ifthenel_string.bin new file mode 100644 index 0000000..1c6fa73 Binary files /dev/null and b/macros/ASTManagement/%ifthenel_string.bin differ diff --git a/macros/ASTManagement/%ifthenelse_string.bin b/macros/ASTManagement/%ifthenelse_string.bin new file mode 100644 index 0000000..456ffad Binary files /dev/null and b/macros/ASTManagement/%ifthenelse_string.bin differ diff --git a/macros/ASTManagement/%operatio_string.bin b/macros/ASTManagement/%operatio_string.bin new file mode 100644 index 0000000..40abf6b Binary files /dev/null and b/macros/ASTManagement/%operatio_string.bin differ diff --git a/macros/ASTManagement/%operation_string.bin b/macros/ASTManagement/%operation_string.bin new file mode 100644 index 0000000..dfbeec9 Binary files /dev/null and b/macros/ASTManagement/%operation_string.bin differ diff --git a/macros/ASTManagement/%program_p.bin b/macros/ASTManagement/%program_p.bin new file mode 100644 index 0000000..216a38b Binary files /dev/null and b/macros/ASTManagement/%program_p.bin differ diff --git a/macros/ASTManagement/%program_string.bin b/macros/ASTManagement/%program_string.bin new file mode 100644 index 0000000..3a8fc95 Binary files /dev/null and b/macros/ASTManagement/%program_string.bin differ diff --git a/macros/ASTManagement/%variable_string.bin b/macros/ASTManagement/%variable_string.bin new file mode 100644 index 0000000..f81fd6e Binary files /dev/null and b/macros/ASTManagement/%variable_string.bin differ diff --git a/macros/ASTManagement/%while_string.bin b/macros/ASTManagement/%while_string.bin new file mode 100644 index 0000000..142189c Binary files /dev/null and b/macros/ASTManagement/%while_string.bin differ diff --git a/macros/ASTManagement/AST2Ccode.bin b/macros/ASTManagement/AST2Ccode.bin new file mode 100644 index 0000000..9daefb8 Binary files /dev/null and b/macros/ASTManagement/AST2Ccode.bin differ diff --git a/macros/ASTManagement/AST2Ccode.sci b/macros/ASTManagement/AST2Ccode.sci index 8076d7e..73183f7 100644 --- a/macros/ASTManagement/AST2Ccode.sci +++ b/macros/ASTManagement/AST2Ccode.sci @@ -151,17 +151,21 @@ while ~meof(fidAST) AST_PushASTStack(treeline); case 'Lhs :' then SharedInfo.Equal.Lhs = 1; // 1 means that we are inside the Lhs block of the Equal + //if SharedInfo.Equal.NOutArg > 0 [EqualInArgName,EqualInArgScope,EqualNInArg] = AST_ReadEqualRhsNames(FileInfo,SharedInfo); - + SharedInfo.Equal.NInArg = EqualNInArg; + //end + // lengthNumber = length('Number_'); // if (part(EqualInArgScope,1:lengthNumber) == 'Number_') // SharedInfo.SkipNextEqual = 1 // end - SharedInfo.Equal.NInArg = EqualNInArg; + for tmpcnt = 1:SharedInfo.Equal.NInArg SharedInfo.Equal.InArg(tmpcnt).Name = EqualInArgName(tmpcnt); SharedInfo.Equal.InArg(tmpcnt).Scope = EqualInArgScope(tmpcnt); end + //end AST_PushASTStack(treeline); // ---------------- diff --git a/macros/ASTManagement/AST_CheckCommonInOutArgs.bin b/macros/ASTManagement/AST_CheckCommonInOutArgs.bin new file mode 100644 index 0000000..5c190ba Binary files /dev/null and b/macros/ASTManagement/AST_CheckCommonInOutArgs.bin differ diff --git a/macros/ASTManagement/AST_CheckLastFunc.bin b/macros/ASTManagement/AST_CheckLastFunc.bin new file mode 100644 index 0000000..9cac227 Binary files /dev/null and b/macros/ASTManagement/AST_CheckLastFunc.bin differ diff --git a/macros/ASTManagement/AST_CheckLineLength.bin b/macros/ASTManagement/AST_CheckLineLength.bin new file mode 100644 index 0000000..db48679 Binary files /dev/null and b/macros/ASTManagement/AST_CheckLineLength.bin differ diff --git a/macros/ASTManagement/AST_CheckPrecSpecifier.bin b/macros/ASTManagement/AST_CheckPrecSpecifier.bin new file mode 100644 index 0000000..8e50397 Binary files /dev/null and b/macros/ASTManagement/AST_CheckPrecSpecifier.bin differ diff --git a/macros/ASTManagement/AST_DisplayStack.bin b/macros/ASTManagement/AST_DisplayStack.bin new file mode 100644 index 0000000..90cbcc7 Binary files /dev/null and b/macros/ASTManagement/AST_DisplayStack.bin differ diff --git a/macros/ASTManagement/AST_ExtractNameAndScope.bin b/macros/ASTManagement/AST_ExtractNameAndScope.bin new file mode 100644 index 0000000..1944d88 Binary files /dev/null and b/macros/ASTManagement/AST_ExtractNameAndScope.bin differ diff --git a/macros/ASTManagement/AST_GetASTFile.bin b/macros/ASTManagement/AST_GetASTFile.bin new file mode 100644 index 0000000..261430e Binary files /dev/null and b/macros/ASTManagement/AST_GetASTFile.bin differ diff --git a/macros/ASTManagement/AST_GetFuncallPrm.bin b/macros/ASTManagement/AST_GetFuncallPrm.bin new file mode 100644 index 0000000..37dbe77 Binary files /dev/null and b/macros/ASTManagement/AST_GetFuncallPrm.bin differ diff --git a/macros/ASTManagement/AST_GetPrecAndLhsArg.bin b/macros/ASTManagement/AST_GetPrecAndLhsArg.bin new file mode 100644 index 0000000..71e44cb Binary files /dev/null and b/macros/ASTManagement/AST_GetPrecAndLhsArg.bin differ diff --git a/macros/ASTManagement/AST_HandleEOL.bin b/macros/ASTManagement/AST_HandleEOL.bin new file mode 100644 index 0000000..3b6b3bd Binary files /dev/null and b/macros/ASTManagement/AST_HandleEOL.bin differ diff --git a/macros/ASTManagement/AST_HandleEndFor.bin b/macros/ASTManagement/AST_HandleEndFor.bin new file mode 100644 index 0000000..a6031b4 Binary files /dev/null and b/macros/ASTManagement/AST_HandleEndFor.bin differ diff --git a/macros/ASTManagement/AST_HandleEndGenFun.bin b/macros/ASTManagement/AST_HandleEndGenFun.bin new file mode 100644 index 0000000..6aab0b7 Binary files /dev/null and b/macros/ASTManagement/AST_HandleEndGenFun.bin differ diff --git a/macros/ASTManagement/AST_HandleEndGenFun.sci b/macros/ASTManagement/AST_HandleEndGenFun.sci index 5ff7181..4de5d89 100644 --- a/macros/ASTManagement/AST_HandleEndGenFun.sci +++ b/macros/ASTManagement/AST_HandleEndGenFun.sci @@ -73,6 +73,14 @@ global STACKDEDUG // #RNU_RES_E [ASTFunName,InArg,NInArg,OutArg,NOutArg] = AST_GetFuncallPrm(FileInfo,SharedInfo,ASTFunType); NOutArg_mod = NOutArg + if ASTFunName == 'OpLogAnd' + AST_PushASTStack('&&'); + return ; + end + if ASTFunName == 'OpLogOr' + AST_PushASTStack('||'); + return; + end if(mtlb_strcmp(part(ASTFunName,1:2),'CV') == %T) SharedInfo.OpenCVUsed = %T; end @@ -119,6 +127,9 @@ NOutArg_mod = NOutArg // --- Read the function annotations. --- // -------------------------------------- // #RNU_RES_E + if ASTFunName == '%k' + ASTFunName='modk'; + end if (ASTFunName == 'OpEqual') FunTypeAnnot = ''; @@ -132,6 +143,7 @@ NOutArg_mod = NOutArg // --- Search for Equal Lhs and precision specifier to be applied to the current function. --- // ------------------------------------------------------------------------------------------- // #RNU_RES_E + PrintStringInfo(' no of out arguments' + string(NOutArg),ReportFileName,'file','y'); [LhsArg,NLhsArg,FunPrecSpecifier,SharedInfo] = AST_GetPrecAndLhsArg(OutArg,NOutArg,ASTFunName,FunTypeAnnot,FunSizeAnnot,ASTFunType,FileInfo,SharedInfo); //NUT: questa funzione contiene troppi parametri e mi sembra disordinata. @@ -329,8 +341,13 @@ NOutArg_mod = NOutArg OutArg(1).Name = string(OutArg(1).Value); elseif ((ASTFunName == 'double') & (NInArg == 1) & (InArg(1).Dimension == 0) & (InArg(1).Scope == 'Number')) OutArg(1).Name = string(OutArg(1).Value); + //elseif ASTFunName == 'disp' else [OutArg,SharedInfo] = GenOutArgNames(ASTFunName,InArg,NInArg,OutArg,NOutArg,LhsArg,NLhsArg,FileInfo,SharedInfo); + if ( ASTFunName == 'OpLogGt' | ASTFunName == 'OpLogLt' | ASTFunName == 'OpLogLe' | ASTFunName == 'OpLogGe' | ASTFunName == 'OpLogNe' | ASTFunName == 'OpLogEq') + PrintStringInfo(' returning back due logical function',ReportFileName,'file','y'); + return; + end end if ((ASTFunName == 'uint8') & (NInArg == 1) & (InArg(1).Dimension == 0) & (InArg(1).Scope == 'Number')) @@ -374,6 +391,8 @@ NOutArg_mod = NOutArg // Scope already set above. elseif (ASTFunName == 'double' & NInArg == 1 & (InArg(1).Dimension == 0) & (InArg(1).Scope == 'Number')) // Scope already set above. + //elseif ASTFunName == 'disp' + //do nothing else OutArg = ST_AnalyzeScope(OutArg,NOutArg,FileInfo,SharedInfo); end @@ -392,6 +411,8 @@ NOutArg_mod = NOutArg //#RNUREM_ME A number is not inserted in the symbol table. elseif ((ASTFunName == 'double') & (NInArg == 1) & (InArg(1).Dimension == 0) & (InArg(1).Scope == 'Number')) //#RNUREM_ME A number is not inserted in the symbol table. + //elseif ASTFunName == 'disp' + //do nothing else ST_InsOutArg(OutArg,NOutArg,FileInfo,SharedInfo,'all'); end @@ -424,8 +445,9 @@ NOutArg_mod = NOutArg // -------------------------------------------- //#RNU_RES_E //disp(OutArg,InArg,ASTFunName) + CFunName = C_GenerateFunName(ASTFunName,InArg,NInArg,OutArg,NOutArg_mod); - + //#RNU_RES_B PrintStringInfo(' C Function Name: '+CFunName,ReportFileName,'file','y'); if(IsArduinoFunction(ASTFunName)) @@ -496,6 +518,8 @@ NOutArg_mod = NOutArg SharedInfo.SkipNextFun > 0 | ... ((sum(mtlb_strcmp(ASTFunName,SharedInfo.Annotations.DataPrec)) > 0) & (SharedInfo.SkipNextPrec == 1))) // Do nothing + //elseif ASTFunName == 'disp' + // Do nothing else AST_CheckCommonInOutArgs(InArg,NInArg,OutArg,NOutArg,ReportFileName); end diff --git a/macros/ASTManagement/AST_HandleEndProgram.bin b/macros/ASTManagement/AST_HandleEndProgram.bin new file mode 100644 index 0000000..5e02fdc Binary files /dev/null and b/macros/ASTManagement/AST_HandleEndProgram.bin differ diff --git a/macros/ASTManagement/AST_HandleEndWhile.bin b/macros/ASTManagement/AST_HandleEndWhile.bin new file mode 100644 index 0000000..bafccbc Binary files /dev/null and b/macros/ASTManagement/AST_HandleEndWhile.bin differ diff --git a/macros/ASTManagement/AST_HandleFor.bin b/macros/ASTManagement/AST_HandleFor.bin new file mode 100644 index 0000000..27d44a1 Binary files /dev/null and b/macros/ASTManagement/AST_HandleFor.bin differ diff --git a/macros/ASTManagement/AST_HandleForStatem.bin b/macros/ASTManagement/AST_HandleForStatem.bin new file mode 100644 index 0000000..4839b04 Binary files /dev/null and b/macros/ASTManagement/AST_HandleForStatem.bin differ diff --git a/macros/ASTManagement/AST_HandleHeader.bin b/macros/ASTManagement/AST_HandleHeader.bin new file mode 100644 index 0000000..87ef763 Binary files /dev/null and b/macros/ASTManagement/AST_HandleHeader.bin differ diff --git a/macros/ASTManagement/AST_HandleIfElse.bin b/macros/ASTManagement/AST_HandleIfElse.bin new file mode 100644 index 0000000..d30e47b Binary files /dev/null and b/macros/ASTManagement/AST_HandleIfElse.bin differ diff --git a/macros/ASTManagement/AST_HandleIfElse.sci b/macros/ASTManagement/AST_HandleIfElse.sci index 5373adf..2b549ed 100644 --- a/macros/ASTManagement/AST_HandleIfElse.sci +++ b/macros/ASTManagement/AST_HandleIfElse.sci @@ -74,11 +74,13 @@ global STACKDEDUG // --------------------------------------------------- //#RNU_RES_E if (ASTIfExpType~='else') - [IfCondArg,NIfCondArg] = AST_ParseIfExprStruct(FileInfo,SharedInfo,ASTIfExpType); + [IfCondArg,NIfCondArg,Op,NOp] = AST_ParseIfExprStruct(FileInfo,SharedInfo,ASTIfExpType); else // "else" type doesn't contain any condition to test. IfCondArg = ''; NIfCondArg = 0; + Op = ''; + NOp = 0; end //#RNU_RES_B @@ -87,6 +89,6 @@ end // ----------------------------- // --- Generate the C code for if/elseif Expression. --- //#RNU_RES_E -SharedInfo = C_IfExpression(IfCondArg,NIfCondArg,ASTIfExpType,FileInfo,SharedInfo); +SharedInfo = C_IfExpression(IfCondArg,NIfCondArg,Op,NOp,ASTIfExpType,FileInfo,SharedInfo); endfunction diff --git a/macros/ASTManagement/AST_HandleWhileExpr.bin b/macros/ASTManagement/AST_HandleWhileExpr.bin new file mode 100644 index 0000000..5f3da2d Binary files /dev/null and b/macros/ASTManagement/AST_HandleWhileExpr.bin differ diff --git a/macros/ASTManagement/AST_HandleWhileStatem.bin b/macros/ASTManagement/AST_HandleWhileStatem.bin new file mode 100644 index 0000000..4f7704e Binary files /dev/null and b/macros/ASTManagement/AST_HandleWhileStatem.bin differ diff --git a/macros/ASTManagement/AST_HandleWhileStatem.sci b/macros/ASTManagement/AST_HandleWhileStatem.sci index 79fb516..d8c2f73 100644 --- a/macros/ASTManagement/AST_HandleWhileStatem.sci +++ b/macros/ASTManagement/AST_HandleWhileStatem.sci @@ -36,6 +36,8 @@ global SCI2CSTACK global StackPosition; global STACKDEDUG +IfCondArg = []; +NIfCondArg = 0; // ------------------------------ // --- Check input arguments. --- @@ -70,36 +72,40 @@ PrintStringInfo(' Redirecting C code to: '+FileInfo.Funct(nxtscifunnumber).CPa // --- Generate C code. --- // ------------------------ //#RNU_RES_E -if(SharedInfo.WhileExpr.CondVar == '') - //#RNU_RES_B - // It means that we are handling something like while(a) or while(1) - // The while condition variable is generated by the HandleEndGenFun. - //#RNU_RES_E - - // --- Pop the name of the condition variable or number. --- - Pop1 = AST_PopASTStack(); - - [ArgName,ArgScope] = AST_ExtractNameAndScope(Pop1); - if (length(ArgName) == 0) - PrintStringInfo(' ',ReportFileName,'both','y'); - PrintStringInfo('SCI2CERROR: Expected while(variable) or while(number).','','stdout','y'); - PrintStringInfo('SCI2CERROR: Expected a variable or number in the AST while expression.','','stdout','y'); - PrintStringInfo('SCI2CERROR: Report this error to http://forge.scilab.org/index.php/p/scilab2c/issues/.','','stdout','y'); - PrintStringInfo(' ',ReportFileName,'both','y'); - error(9999, 'Expected a conditional variable in the while expression'); +flagendpop = 0; +IfExprField = AST_PopASTStack(); + +NOp=0; +Op=[]; +while (flagendpop == 0) + if (IfExprField~='') + if (IfExprField=='WhileExpression:') + flagendpop = 1; + // Pop Again the If tag from the AST. + IfExprField = AST_PopASTStack(); + elseif (IfExprField=='Operands:') + flagendpop = 0; + g = AST_PopASTStack(); + else + if (IfExprField=='&&' | IfExprField=='||') + NOp = NOp + 1; + Op(NOp) = IfExprField; + //PrintStringInfo('operators are '+Op(NOp),ReportFileName,'file','y'); + else + NIfCondArg = NIfCondArg + 1; + IfCondArg(NIfCondArg) = IfExprField; + end + //[IfCondArg(NIfCondArg),tmpscope] = AST_ExtractNameAndScope(IfExprField); + //[IfCondArg(NIfCondArg),tmpscope] = AST_ExtractNameAndScope(IfExprField); + end end + IfExprField = AST_PopASTStack(); + PrintStringInfo('operators are '+IfExprField,ReportFileName,'file','y'); +end - SharedInfo.WhileExpr.CondVar = ArgName; - //#RNU_RES_B - // --- Repush strings into the AST stack. --- - //#RNU_RES_E - - AST_PushASTStack(Pop1); +IfCondArg = SCI2Cflipud(IfCondArg); -elseif (SharedInfo.WhileExpr.DimCondVar > 0) - error(9999, 'Cannot manage while with matrix conditions'); -end -SharedInfo = C_WhileExpression(FileInfo,SharedInfo); +SharedInfo = C_WhileExpression(IfCondArg,NIfCondArg,Op,NOp,FileInfo,SharedInfo); // -------------------------- // --- Update SharedInfo. --- diff --git a/macros/ASTManagement/AST_ParseEqualStruct.bin b/macros/ASTManagement/AST_ParseEqualStruct.bin new file mode 100644 index 0000000..459c62e Binary files /dev/null and b/macros/ASTManagement/AST_ParseEqualStruct.bin differ diff --git a/macros/ASTManagement/AST_ParseFuncallStruct.bin b/macros/ASTManagement/AST_ParseFuncallStruct.bin new file mode 100644 index 0000000..1cbeb5c Binary files /dev/null and b/macros/ASTManagement/AST_ParseFuncallStruct.bin differ diff --git a/macros/ASTManagement/AST_ParseFuncallStruct.sci b/macros/ASTManagement/AST_ParseFuncallStruct.sci index 647a70d..3c322dd 100644 --- a/macros/ASTManagement/AST_ParseFuncallStruct.sci +++ b/macros/ASTManagement/AST_ParseFuncallStruct.sci @@ -87,6 +87,10 @@ NOutArg = eval(stripblanks(part(buffstring,10:length(buffstring)))); buffstring = AST_PopASTStack(); FunctionName = stripblanks(part(buffstring,12:length(buffstring))); +//if (FunctionName == 'disp') + // NOutArg = 0; +//end + // ------------------------------------- // --- Generate the InArg structure. --- // ------------------------------------- diff --git a/macros/ASTManagement/AST_ParseIfExprStruct.bin b/macros/ASTManagement/AST_ParseIfExprStruct.bin new file mode 100644 index 0000000..19ea5fe Binary files /dev/null and b/macros/ASTManagement/AST_ParseIfExprStruct.bin differ diff --git a/macros/ASTManagement/AST_ParseIfExprStruct.sci b/macros/ASTManagement/AST_ParseIfExprStruct.sci index a7da012..3ed1b5b 100644 --- a/macros/ASTManagement/AST_ParseIfExprStruct.sci +++ b/macros/ASTManagement/AST_ParseIfExprStruct.sci @@ -1,4 +1,4 @@ -function [IfCondArg,NIfCondArg] = AST_ParseIfExprStruct(FileInfo,SharedInfo,ASTIfExpType) +function [IfCondArg,NIfCondArg,Op,NOp] = AST_ParseIfExprStruct(FileInfo,SharedInfo,ASTIfExpType) // function [IfCondArg,NIfCondArg] = AST_ParseIfExprStruct(FileInfo,SharedInfo,ASTIfExpType) // ----------------------------------------------------------------- //#RNU_RES_B @@ -63,13 +63,26 @@ global STACKDEDUG // ------------------------------------ // --- Read if condition variables. --- // ------------------------------------ +//OutArgOld=[]; +//OutArgNew=[]; + +//for i = 1:3 + // OutArgOld(i)=AST_PopASTStack(); + //PrintStringInfo(' '+OutArgOld(i),ReportFileName,'file','y'); +//end +//x = AST_PopASTStack(); + +//OutArgNew = SCI2Cflipud(OutArgOld); + flagendpop = 0; IfExprField = AST_PopASTStack(); +PrintStringInfo(' '+IfExprField+' '+ASTIfExpType,ReportFileName,'file','y'); if (ASTIfExpType=='if') if (IfExprField=='Expression:') flagendpop = 1; // Pop Again the If tag from the AST. IfExprField = AST_PopASTStack(); + PrintStringInfo(' '+IfExprField,ReportFileName,'file','y'); end elseif (ASTIfExpType=='elseif') if (IfExprField=='Else If Expression') @@ -78,7 +91,8 @@ elseif (ASTIfExpType=='elseif') else error(9999, 'Unknown ASTIfExpType ""'+ASTIfExpType+'"".'); end - +NOp=0; +Op=[]; while (flagendpop == 0) if (IfExprField~='') if (ASTIfExpType=='if') @@ -86,23 +100,41 @@ while (flagendpop == 0) flagendpop = 1; // Pop Again the If tag from the AST. IfExprField = AST_PopASTStack(); + elseif (IfExprField=='Operands:') + flagendpop = 0; + g = AST_PopASTStack(); else + if (IfExprField=='&&' | IfExprField=='||') + NOp = NOp + 1; + Op(NOp) = IfExprField; + //PrintStringInfo('operators are '+Op(NOp),ReportFileName,'file','y'); + else NIfCondArg = NIfCondArg + 1; - [IfCondArg(NIfCondArg),tmpscope] = AST_ExtractNameAndScope(IfExprField); + IfCondArg(NIfCondArg) = IfExprField; + end + //[IfCondArg(NIfCondArg),tmpscope] = AST_ExtractNameAndScope(IfExprField); end elseif (ASTIfExpType=='elseif') if (IfExprField=='Else If Expression') flagendpop = 1; else - NIfCondArg = NIfCondArg + 1; - IfCondArg(NIfCondArg) = IfExprField; - [IfCondArg(NIfCondArg),tmpscope] = AST_ExtractNameAndScope(IfExprField); + if (IfExprField=='&&') + NOp = NOp + 1; + Op(NOp) = IfExprField; + else + NIfCondArg = NIfCondArg + 1; + IfCondArg(NIfCondArg) = IfExprField; + end + //[IfCondArg(NIfCondArg),tmpscope] = AST_ExtractNameAndScope(IfExprField); end end end IfExprField = AST_PopASTStack(); + PrintStringInfo('operators are '+IfExprField,ReportFileName,'file','y'); end +IfCondArg = SCI2Cflipud(IfCondArg); + //#RNU_RES_B // ------------------------------------------- // --- Print some info in the report file. --- diff --git a/macros/ASTManagement/AST_ParseOperStruct.bin b/macros/ASTManagement/AST_ParseOperStruct.bin new file mode 100644 index 0000000..e189cbc Binary files /dev/null and b/macros/ASTManagement/AST_ParseOperStruct.bin differ diff --git a/macros/ASTManagement/AST_ParseOperStruct.sci b/macros/ASTManagement/AST_ParseOperStruct.sci index a77317b..903f095 100644 --- a/macros/ASTManagement/AST_ParseOperStruct.sci +++ b/macros/ASTManagement/AST_ParseOperStruct.sci @@ -61,6 +61,17 @@ LabelFunctName = 'Operator: '; FunctionName = stripblanks(part(buffstring,length(LabelFunctName)+1:length(buffstring))); // Generate the proper function name. FunctionName = Operator2FunName(FunctionName); +PrintStringInfo(' '+FunctionName,ReportFileName,'file','y'); + +if (FunctionName == 'OpLogAnd' | FunctionName=='OpLogOr') + NInArg = 0; + NOutArg = 0; + InArg=[]; + //RhsField = AST_PopASTStack(); + //PrintStringInfo('hello'+RhsField,ReportFileName,'file','y'); + //RhsField = AST_PopASTStack(); + return ; +end // ------------------------------ // --- Read input parameters. --- diff --git a/macros/ASTManagement/AST_PopASTStack.bin b/macros/ASTManagement/AST_PopASTStack.bin new file mode 100644 index 0000000..f9b85d3 Binary files /dev/null and b/macros/ASTManagement/AST_PopASTStack.bin differ diff --git a/macros/ASTManagement/AST_PushASTStack.bin b/macros/ASTManagement/AST_PushASTStack.bin new file mode 100644 index 0000000..8fcd563 Binary files /dev/null and b/macros/ASTManagement/AST_PushASTStack.bin differ diff --git a/macros/ASTManagement/AST_ReadASTHeader.bin b/macros/ASTManagement/AST_ReadASTHeader.bin new file mode 100644 index 0000000..614231c Binary files /dev/null and b/macros/ASTManagement/AST_ReadASTHeader.bin differ diff --git a/macros/ASTManagement/AST_ReadEqualRhsNames.bin b/macros/ASTManagement/AST_ReadEqualRhsNames.bin new file mode 100644 index 0000000..a131c49 Binary files /dev/null and b/macros/ASTManagement/AST_ReadEqualRhsNames.bin differ diff --git a/macros/ASTManagement/GenOutArgNames.bin b/macros/ASTManagement/GenOutArgNames.bin new file mode 100644 index 0000000..2ebce86 Binary files /dev/null and b/macros/ASTManagement/GenOutArgNames.bin differ diff --git a/macros/ASTManagement/GenOutArgNames.sci b/macros/ASTManagement/GenOutArgNames.sci index 0e68383..7b62c79 100644 --- a/macros/ASTManagement/GenOutArgNames.sci +++ b/macros/ASTManagement/GenOutArgNames.sci @@ -32,6 +32,12 @@ SCI2CNInArgCheck(argn(2),9,9); nxtscifunname = SharedInfo.NextSCIFunName; nxtscifunnumber = SharedInfo.NextSCIFunNumber; ReportFileName = FileInfo.Funct(nxtscifunnumber).ReportFileName; + + +global SCI2CSTACK +global StackPosition; +global STACKDEDUG + // #RNU_RES_B PrintStringInfo(' Generating Out Arg names.',ReportFileName,'file','y'); // #RNU_RES_E @@ -43,47 +49,69 @@ OutArg = OldOutArg; // --------------------------------------------------------------------------------------- // At this step only the name of the output arguments can be generated. --- //#RNU_RES_E -if (NLhsArg > 0) - //#RNU_RES_B - // Use the equal Lhs names. - PrintStringInfo('Using Equal Lhs names.',ReportFileName,'file','y'); - //#RNU_RES_E - if (NLhsArg ~= NOutArg) - error(9999, 'NLhsArg='+string(NLhsArg)+' must be equal to NOutArg='+string(NOutArg)+'.'); - end - for counteroutputargs = 1:NOutArg - OutArg(counteroutputargs).Name=LhsArg(counteroutputargs).Name; - OutArg(counteroutputargs).Scope=LhsArg(counteroutputargs).Scope; - end +if (FunctionName ~= 'OpLogGt' & FunctionName ~= 'OpLogLt' & FunctionName ~= 'OpLogGe' & FunctionName ~= 'OpLogLe' & FunctionName ~= 'OpLogNe' & FunctionName ~= 'OpLogEq') + if (NLhsArg > 0) + //#RNU_RES_B + // Use the equal Lhs names. + PrintStringInfo('Using Equal Lhs names.',ReportFileName,'file','y'); + //#RNU_RES_E + if (NLhsArg ~= NOutArg) + error(9999, 'NLhsArg='+string(NLhsArg)+' must be equal to NOutArg='+string(NOutArg)+'.'); + end + for counteroutputargs = 1:NOutArg + OutArg(counteroutputargs).Name=LhsArg(counteroutputargs).Name; + OutArg(counteroutputargs).Scope=LhsArg(counteroutputargs).Scope; + end + else + //#RNU_RES_B + // Generate temporary variables. + PrintStringInfo('Generating temporary variables.',ReportFileName,'file','y'); + //#RNU_RES_E + if ((sum(mtlb_strcmp(FunctionName,SharedInfo.Annotations.DataPrec)) > 0) & ... + (SharedInfo.SkipNextPrec == 1)) + //#RNU_RES_B + PrintStringInfo(' Skipping code generating because already generated in the previous function.',ReportFileName,'file','y'); + //#RNU_RES_E + for counteroutputargs = 1:NOutArg + OutArg(counteroutputargs).Name = InArg(counteroutputargs).Name; + end + elseif (mtlb_strcmp(FunctionName,'OpEqual')) + // do nothing. + //NUT: verifica questa parte di codice. e' sicuro che se ho equal gli oldoutarg contengono gia' il nome? + else + for counteroutputargs = 1:NOutArg + if ((SharedInfo.ASTReader.EnableTempVarsReuse == 1) & ... + (length(SharedInfo.ASTReader.ReusableTempVars) > 0)) + TmpOutArgName = strcat([SharedInfo.ASTReader.TempVarsName,string(SharedInfo.ASTReader.ReusableTempVars(1))]); + SharedInfo.ASTReader.ReusableTempVars = SharedInfo.ASTReader.ReusableTempVars(2:$); + else + SharedInfo.ASTReader.UsedTempVars = SharedInfo.ASTReader.UsedTempVars + 1; + TmpOutArgName = strcat([SharedInfo.ASTReader.TempVarsName,string(SharedInfo.ASTReader.UsedTempVars)]); + end + OutArg(counteroutputargs).Name=TmpOutArgName; + end + end + end else - //#RNU_RES_B - // Generate temporary variables. - PrintStringInfo('Generating temporary variables.',ReportFileName,'file','y'); - //#RNU_RES_E - if ((sum(mtlb_strcmp(FunctionName,SharedInfo.Annotations.DataPrec)) > 0) & ... - (SharedInfo.SkipNextPrec == 1)) - //#RNU_RES_B - PrintStringInfo(' Skipping code generating because already generated in the previous function.',ReportFileName,'file','y'); - //#RNU_RES_E - for counteroutputargs = 1:NOutArg - OutArg(counteroutputargs).Name = InArg(counteroutputargs).Name; - end - elseif (mtlb_strcmp(FunctionName,'OpEqual')) - // do nothing. - //NUT: verifica questa parte di codice. e' sicuro che se ho equal gli oldoutarg contengono gia' il nome? - else - for counteroutputargs = 1:NOutArg - if ((SharedInfo.ASTReader.EnableTempVarsReuse == 1) & ... - (length(SharedInfo.ASTReader.ReusableTempVars) > 0)) - TmpOutArgName = strcat([SharedInfo.ASTReader.TempVarsName,string(SharedInfo.ASTReader.ReusableTempVars(1))]); - SharedInfo.ASTReader.ReusableTempVars = SharedInfo.ASTReader.ReusableTempVars(2:$); - else - SharedInfo.ASTReader.UsedTempVars = SharedInfo.ASTReader.UsedTempVars + 1; - TmpOutArgName = strcat([SharedInfo.ASTReader.TempVarsName,string(SharedInfo.ASTReader.UsedTempVars)]); - end - OutArg(counteroutputargs).Name=TmpOutArgName; - end - end + for counterinputargs = 1:NInArg + tmppushstack=InArg(counterinputargs).Name; + PrintStringInfo(' Pushing in the AST stack: ""'+tmppushstack+'"".',ReportFileName,'file','y'); + AST_PushASTStack(tmppushstack); + if FunctionName=='OpLogGt' + AST_PushASTStack('>'); + elseif FunctionName=='OpLogGe' + AST_PushASTStack('>='); + elseif FunctionName=='OpLogLt' + AST_PushASTStack('<'); + elseif FunctionName=='OpLogLe' + AST_PushASTStack('<='); + elseif FunctionName=='OpLogEq' + AST_PushASTStack('=='); + elseif FunctionName=='OpLogNe' + AST_PushASTStack('!='); + end + end + s = AST_PopASTStack(); + PrintStringInfo(' Pushing in the AST stack: ""'+s+'"".',ReportFileName,'file','y'); end - endfunction diff --git a/macros/ASTManagement/Operator2FunName.bin b/macros/ASTManagement/Operator2FunName.bin new file mode 100644 index 0000000..884c99b Binary files /dev/null and b/macros/ASTManagement/Operator2FunName.bin differ diff --git a/macros/ASTManagement/SciFile2ASTFile.bin b/macros/ASTManagement/SciFile2ASTFile.bin new file mode 100644 index 0000000..be8bc0d Binary files /dev/null and b/macros/ASTManagement/SciFile2ASTFile.bin differ diff --git a/macros/ASTManagement/_comment_string.bin b/macros/ASTManagement/_comment_string.bin new file mode 100644 index 0000000..fb89494 Binary files /dev/null and b/macros/ASTManagement/_comment_string.bin differ diff --git a/macros/ASTManagement/_cste_string.bin b/macros/ASTManagement/_cste_string.bin new file mode 100644 index 0000000..ba643c4 Binary files /dev/null and b/macros/ASTManagement/_cste_string.bin differ diff --git a/macros/ASTManagement/_equal_string.bin b/macros/ASTManagement/_equal_string.bin new file mode 100644 index 0000000..7f88fee Binary files /dev/null and b/macros/ASTManagement/_equal_string.bin differ diff --git a/macros/ASTManagement/_for_string.bin b/macros/ASTManagement/_for_string.bin new file mode 100644 index 0000000..c3fda16 Binary files /dev/null and b/macros/ASTManagement/_for_string.bin differ diff --git a/macros/ASTManagement/_funcall_string.bin b/macros/ASTManagement/_funcall_string.bin new file mode 100644 index 0000000..8354586 Binary files /dev/null and b/macros/ASTManagement/_funcall_string.bin differ diff --git a/macros/ASTManagement/_ifthenel_string.bin b/macros/ASTManagement/_ifthenel_string.bin new file mode 100644 index 0000000..1c6fa73 Binary files /dev/null and b/macros/ASTManagement/_ifthenel_string.bin differ diff --git a/macros/ASTManagement/_ifthenelse_string.bin b/macros/ASTManagement/_ifthenelse_string.bin new file mode 100644 index 0000000..456ffad Binary files /dev/null and b/macros/ASTManagement/_ifthenelse_string.bin differ diff --git a/macros/ASTManagement/_operatio_string.bin b/macros/ASTManagement/_operatio_string.bin new file mode 100644 index 0000000..40abf6b Binary files /dev/null and b/macros/ASTManagement/_operatio_string.bin differ diff --git a/macros/ASTManagement/_operation_string.bin b/macros/ASTManagement/_operation_string.bin new file mode 100644 index 0000000..dfbeec9 Binary files /dev/null and b/macros/ASTManagement/_operation_string.bin differ diff --git a/macros/ASTManagement/_program_p.bin b/macros/ASTManagement/_program_p.bin new file mode 100644 index 0000000..216a38b Binary files /dev/null and b/macros/ASTManagement/_program_p.bin differ diff --git a/macros/ASTManagement/_program_string.bin b/macros/ASTManagement/_program_string.bin new file mode 100644 index 0000000..3a8fc95 Binary files /dev/null and b/macros/ASTManagement/_program_string.bin differ diff --git a/macros/ASTManagement/_variable_string.bin b/macros/ASTManagement/_variable_string.bin new file mode 100644 index 0000000..f81fd6e Binary files /dev/null and b/macros/ASTManagement/_variable_string.bin differ diff --git a/macros/ASTManagement/_while_string.bin b/macros/ASTManagement/_while_string.bin new file mode 100644 index 0000000..142189c Binary files /dev/null and b/macros/ASTManagement/_while_string.bin differ diff --git a/macros/ASTManagement/lib b/macros/ASTManagement/lib index 67ea09b..42ffc2a 100644 Binary files a/macros/ASTManagement/lib and b/macros/ASTManagement/lib differ diff --git a/macros/ASTManagement/objectlist2string.bin b/macros/ASTManagement/objectlist2string.bin new file mode 100644 index 0000000..96159f2 Binary files /dev/null and b/macros/ASTManagement/objectlist2string.bin differ diff --git a/macros/CCodeGeneration/C_FinalizeCode.bin b/macros/CCodeGeneration/C_FinalizeCode.bin new file mode 100644 index 0000000..b400591 Binary files /dev/null and b/macros/CCodeGeneration/C_FinalizeCode.bin differ diff --git a/macros/CCodeGeneration/C_ForExpression.bin b/macros/CCodeGeneration/C_ForExpression.bin new file mode 100644 index 0000000..1c3f674 Binary files /dev/null and b/macros/CCodeGeneration/C_ForExpression.bin differ diff --git a/macros/CCodeGeneration/C_Funcall.bin b/macros/CCodeGeneration/C_Funcall.bin new file mode 100644 index 0000000..80fda7c Binary files /dev/null and b/macros/CCodeGeneration/C_Funcall.bin differ diff --git a/macros/CCodeGeneration/C_GenDeclarations.bin b/macros/CCodeGeneration/C_GenDeclarations.bin new file mode 100644 index 0000000..c3b3600 Binary files /dev/null and b/macros/CCodeGeneration/C_GenDeclarations.bin differ diff --git a/macros/CCodeGeneration/C_GenerateFunName.bin b/macros/CCodeGeneration/C_GenerateFunName.bin new file mode 100644 index 0000000..1b723f1 Binary files /dev/null and b/macros/CCodeGeneration/C_GenerateFunName.bin differ diff --git a/macros/CCodeGeneration/C_GenerateLaunchScript.bin b/macros/CCodeGeneration/C_GenerateLaunchScript.bin new file mode 100644 index 0000000..587c154 Binary files /dev/null and b/macros/CCodeGeneration/C_GenerateLaunchScript.bin differ diff --git a/macros/CCodeGeneration/C_GenerateMakefile.bin b/macros/CCodeGeneration/C_GenerateMakefile.bin new file mode 100644 index 0000000..cea8641 Binary files /dev/null and b/macros/CCodeGeneration/C_GenerateMakefile.bin differ diff --git a/macros/CCodeGeneration/C_GenerateMakefile_msvc.bin b/macros/CCodeGeneration/C_GenerateMakefile_msvc.bin new file mode 100644 index 0000000..838c674 Binary files /dev/null and b/macros/CCodeGeneration/C_GenerateMakefile_msvc.bin differ diff --git a/macros/CCodeGeneration/C_GenerateSCI2CHeader.bin b/macros/CCodeGeneration/C_GenerateSCI2CHeader.bin new file mode 100644 index 0000000..2e02cae Binary files /dev/null and b/macros/CCodeGeneration/C_GenerateSCI2CHeader.bin differ diff --git a/macros/CCodeGeneration/C_IfElseBlocks.bin b/macros/CCodeGeneration/C_IfElseBlocks.bin new file mode 100644 index 0000000..332e89b Binary files /dev/null and b/macros/CCodeGeneration/C_IfElseBlocks.bin differ diff --git a/macros/CCodeGeneration/C_IfExpression.bin b/macros/CCodeGeneration/C_IfExpression.bin new file mode 100644 index 0000000..b1dc737 Binary files /dev/null and b/macros/CCodeGeneration/C_IfExpression.bin differ diff --git a/macros/CCodeGeneration/C_IfExpression.sci b/macros/CCodeGeneration/C_IfExpression.sci index 48a0538..c723d95 100644 --- a/macros/CCodeGeneration/C_IfExpression.sci +++ b/macros/CCodeGeneration/C_IfExpression.sci @@ -1,4 +1,4 @@ -function SharedInfo = C_IfExpression(IfCondArg,NIfCondArg,ASTIfExpType,FileInfo,SharedInfo) +function SharedInfo = C_IfExpression(IfCondArg,NIfCondArg,Op,NOp,ASTIfExpType,FileInfo,SharedInfo) // function SharedInfo = C_IfExpression(IfCondArg,NIfCondArg,ASTIfExpType,FileInfo,SharedInfo) // ----------------------------------------------------------------- // //NUT: add description here @@ -19,12 +19,16 @@ function SharedInfo = C_IfExpression(IfCondArg,NIfCondArg,ASTIfExpType,FileInfo, // ------------------------------ // --- Check input arguments. --- // ------------------------------ -SCI2CNInArgCheck(argn(2),5,5); +//SCI2CNInArgCheck(argn(4),7,7); + +//global SCI2CSTACK +//global StackPosition; +//global STACKDEDUG // --- Check NIfCondArg value. --- -if ((NIfCondArg ~= 1) & (ASTIfExpType~='else')) - error(9999, 'Cannot manage ""if/elseif"" with a number of condition variables not equal to 1.'); -end +//if ((NIfCondArg ~= 1) & (ASTIfExpType~='else')) + // error(9999, 'Cannot manage ""if/elseif"" with a number of condition variables not equal to 1.'); +//end // ----------------------- // --- Initialization. --- @@ -37,7 +41,7 @@ CPass1FileName = FileInfo.Funct(nxtscifunnumber).CPass1FileName; // #RNU_RES_B PrintStringInfo(' ',ReportFileName,'file','y'); -PrintStringInfo('***Generating C code***',ReportFileName,'file','y'); +PrintStringInfo('***Generating C code***'+ string(NIfCondArg),ReportFileName,'file','y'); // #RNU_RES_E // --------------------------- // --- End Initialization. --- @@ -66,10 +70,23 @@ if SCI2Cstrncmps1size(ASTIfExpType,'else') SharedInfo = C_IfElseBlocks(FileInfo,SharedInfo,'out'); end +i=1; +k=1; CCall =''; CCall = CCall+CFunName; if (ASTIfExpType~='else') - CCall = CCall+'('+IfCondArg(1)+')'; + CCall = CCall+'('; + while i <= NIfCondArg + CCall = CCall + IfCondArg(i) + ' '; + //d = modulo(i,3); + //PrintStringInfo(' '+string(i)+string(d),'file','y'); + if (modulo(i,3)==0 & i<>NIfCondArg) + CCall = CCall + Op(k) + ' '; + k = k + 1; + end + i = i + 1; + end + CCall = CCall+')'; end PrintStringInfo(' '+CCall,ReportFileName,'file','y'); PrintStringInfo(C_IndentBlanks(SharedInfo.NIndent)+CCall,CPass1FileName,'file','y'); diff --git a/macros/CCodeGeneration/C_IndentBlanks.bin b/macros/CCodeGeneration/C_IndentBlanks.bin new file mode 100644 index 0000000..77bfaeb Binary files /dev/null and b/macros/CCodeGeneration/C_IndentBlanks.bin differ diff --git a/macros/CCodeGeneration/C_InitHeader.bin b/macros/CCodeGeneration/C_InitHeader.bin new file mode 100644 index 0000000..567822c Binary files /dev/null and b/macros/CCodeGeneration/C_InitHeader.bin differ diff --git a/macros/CCodeGeneration/C_MemAllocOutTempVars.bin b/macros/CCodeGeneration/C_MemAllocOutTempVars.bin new file mode 100644 index 0000000..443ad3c Binary files /dev/null and b/macros/CCodeGeneration/C_MemAllocOutTempVars.bin differ diff --git a/macros/CCodeGeneration/C_SCI2CHeader.bin b/macros/CCodeGeneration/C_SCI2CHeader.bin new file mode 100644 index 0000000..1d3e618 Binary files /dev/null and b/macros/CCodeGeneration/C_SCI2CHeader.bin differ diff --git a/macros/CCodeGeneration/C_Type.bin b/macros/CCodeGeneration/C_Type.bin new file mode 100644 index 0000000..7b5bf44 Binary files /dev/null and b/macros/CCodeGeneration/C_Type.bin differ diff --git a/macros/CCodeGeneration/C_WhileExpression.bin b/macros/CCodeGeneration/C_WhileExpression.bin new file mode 100644 index 0000000..5e42650 Binary files /dev/null and b/macros/CCodeGeneration/C_WhileExpression.bin differ diff --git a/macros/CCodeGeneration/C_WhileExpression.sci b/macros/CCodeGeneration/C_WhileExpression.sci index edd2830..d7cf70e 100644 --- a/macros/CCodeGeneration/C_WhileExpression.sci +++ b/macros/CCodeGeneration/C_WhileExpression.sci @@ -1,4 +1,4 @@ -function SharedInfo = C_WhileExpression(FileInfo,SharedInfo) +function SharedInfo = C_WhileExpression(IfCondArg,NIfCondArg,Op,NOp,FileInfo,SharedInfo) // function SharedInfo = C_WhileExpression(FileInfo,SharedInfo) // ----------------------------------------------------------------- // //NUT: add description here @@ -19,7 +19,7 @@ function SharedInfo = C_WhileExpression(FileInfo,SharedInfo) // ------------------------------ // --- Check input arguments. --- // ------------------------------ -SCI2CNInArgCheck(argn(2),2,2); +//SCI2CNInArgCheck(argn(2),2,2); // ----------------------- // --- Initialization. --- @@ -63,7 +63,7 @@ for cntstr = 1:NumCStrings // Epilogue if (length(C_Strings(cntstr)) == 0) C_Strings(cntstr) = ' '; // RNU for Bruno: If I don't do that I get a PrintStringInfo error related to mputstr. - // Function not defined for given argument type(s), + // Function not defined for given argument type(s), // check arguments or define function %0_mputstr for overloading. end PrintStringInfo(C_Strings(cntstr),CPass1WhileEpilFileName ,'file','y','n'); @@ -76,7 +76,27 @@ PrintStringInfo('}',CPass1WhileEpilFileName ,'file','y'); // ------------------------------ // --- Insert for expression. --- // ------------------------------ -CCall = 'while('+SharedInfo.WhileExpr.CondVar+')'; +//CCall = 'while('+SharedInfo.WhileExpr.CondVar+')'; +//PrintStringInfo(C_IndentBlanks(SharedInfo.NIndent)+CCall,CPass1FileName,'file','y'); + +i=1; +k=1; +CCall =''; +CCall = CCall+'while'; + CCall = CCall+'('; + while i <= NIfCondArg + CCall = CCall + IfCondArg(i) + ' '; + //d = modulo(i,3); + //PrintStringInfo(' '+string(i)+string(d),'file','y'); + if (modulo(i,3)==0 & i<>NIfCondArg) + CCall = CCall + Op(k) + ' '; + k = k + 1; + end + i = i + 1; + end + CCall = CCall+')'; + +PrintStringInfo(' '+CCall,ReportFileName,'file','y'); PrintStringInfo(C_IndentBlanks(SharedInfo.NIndent)+CCall,CPass1FileName,'file','y'); // ------------------- diff --git a/macros/CCodeGeneration/GenCFunDatFiles.bin b/macros/CCodeGeneration/GenCFunDatFiles.bin new file mode 100644 index 0000000..6a374f5 Binary files /dev/null and b/macros/CCodeGeneration/GenCFunDatFiles.bin differ diff --git a/macros/CCodeGeneration/GetClsFileName.bin b/macros/CCodeGeneration/GetClsFileName.bin new file mode 100644 index 0000000..dda0293 Binary files /dev/null and b/macros/CCodeGeneration/GetClsFileName.bin differ diff --git a/macros/CCodeGeneration/GetClsFileName.sci b/macros/CCodeGeneration/GetClsFileName.sci index 46f0820..d92a431 100644 --- a/macros/CCodeGeneration/GetClsFileName.sci +++ b/macros/CCodeGeneration/GetClsFileName.sci @@ -45,6 +45,7 @@ if SCI2Cfileexist(FileInfo.USER2CLibCAnnFun,tmpannfilename) // #RNU_RES_B // It is a C function of the USER2C library. // #RNU_RES_E + PrintStringInfo('cUser2c',ReportFileName,'file','y'); FlagFoundAnnFile = 1; AnnFileName = fullfile(FileInfo.USER2CLibCAnnFun,tmpannfilename); SCI2CClassName = FL_GetFunctionClass(AnnFileName,SCI2CClassSpecifier,ReportFileName); @@ -53,6 +54,7 @@ elseif SCI2Cfileexist(FileInfo.USER2CLibSCIAnnFun,tmpannfilename) // #RNU_RES_B // It is a scilab function of the USER2C library. // #RNU_RES_E + PrintStringInfo('fUser2c',ReportFileName,'file','y'); FlagFoundAnnFile = 1; AnnFileName = fullfile(FileInfo.USER2CLibSCIAnnFun,tmpannfilename); SCI2CClassName = FL_GetFunctionClass(AnnFileName,SCI2CClassSpecifier,ReportFileName); @@ -61,6 +63,7 @@ elseif (SCI2Cfileexist(FileInfo.SCI2CLibCAnnFun,tmpannfilename)) // #RNU_RES_B // It is a C function of the SCI2C library. // #RNU_RES_E + PrintStringInfo('csci2c',ReportFileName,'file','y'); FlagFoundAnnFile = 1; AnnFileName = fullfile(FileInfo.SCI2CLibCAnnFun,tmpannfilename); SCI2CClassName = FL_GetFunctionClass(AnnFileName,SCI2CClassSpecifier,ReportFileName); @@ -69,6 +72,7 @@ elseif (SCI2Cfileexist(FileInfo.SCI2CLibSCIAnnFun,tmpannfilename)) // #RNU_RES_B // It is a scilab function of the SCI2C library. // #RNU_RES_E + PrintStringInfo('fsci2c',ReportFileName,'file','y'); FlagFoundAnnFile = 1; AnnFileName = fullfile(FileInfo.SCI2CLibSCIAnnFun,tmpannfilename); SCI2CClassName = FL_GetFunctionClass(AnnFileName,SCI2CClassSpecifier,ReportFileName); diff --git a/macros/CCodeGeneration/GetSymbolDimension.bin b/macros/CCodeGeneration/GetSymbolDimension.bin new file mode 100644 index 0000000..5c73f43 Binary files /dev/null and b/macros/CCodeGeneration/GetSymbolDimension.bin differ diff --git a/macros/CCodeGeneration/GetWhileCondVariable.bin b/macros/CCodeGeneration/GetWhileCondVariable.bin new file mode 100644 index 0000000..6815fb4 Binary files /dev/null and b/macros/CCodeGeneration/GetWhileCondVariable.bin differ diff --git a/macros/CCodeGeneration/JoinDeclarAndCcode.bin b/macros/CCodeGeneration/JoinDeclarAndCcode.bin new file mode 100644 index 0000000..084ab08 Binary files /dev/null and b/macros/CCodeGeneration/JoinDeclarAndCcode.bin differ diff --git a/macros/CCodeGeneration/Sci2AnnotationFile.bin b/macros/CCodeGeneration/Sci2AnnotationFile.bin new file mode 100644 index 0000000..95fe561 Binary files /dev/null and b/macros/CCodeGeneration/Sci2AnnotationFile.bin differ diff --git a/macros/CCodeGeneration/lib b/macros/CCodeGeneration/lib index 2db4b8c..b62a6c7 100644 Binary files a/macros/CCodeGeneration/lib and b/macros/CCodeGeneration/lib differ diff --git a/macros/ErrorMessages/EM_NanSize.bin b/macros/ErrorMessages/EM_NanSize.bin new file mode 100644 index 0000000..d0ad584 Binary files /dev/null and b/macros/ErrorMessages/EM_NanSize.bin differ diff --git a/macros/ErrorMessages/EM_UnknownStep.bin b/macros/ErrorMessages/EM_UnknownStep.bin new file mode 100644 index 0000000..57a2b4d Binary files /dev/null and b/macros/ErrorMessages/EM_UnknownStep.bin differ diff --git a/macros/ErrorMessages/EM_ZeroSize.bin b/macros/ErrorMessages/EM_ZeroSize.bin new file mode 100644 index 0000000..f8d2830 Binary files /dev/null and b/macros/ErrorMessages/EM_ZeroSize.bin differ diff --git a/macros/ErrorMessages/lib b/macros/ErrorMessages/lib index 0a9f891..dc2a338 100644 Binary files a/macros/ErrorMessages/lib and b/macros/ErrorMessages/lib differ diff --git a/macros/FunctionAnnotation/FA_ADD.bin b/macros/FunctionAnnotation/FA_ADD.bin new file mode 100644 index 0000000..6c81082 Binary files /dev/null and b/macros/FunctionAnnotation/FA_ADD.bin differ diff --git a/macros/FunctionAnnotation/FA_DIV.bin b/macros/FunctionAnnotation/FA_DIV.bin new file mode 100644 index 0000000..6e6708f Binary files /dev/null and b/macros/FunctionAnnotation/FA_DIV.bin differ diff --git a/macros/FunctionAnnotation/FA_GetDefaultPrecision.bin b/macros/FunctionAnnotation/FA_GetDefaultPrecision.bin new file mode 100644 index 0000000..fa48e83 Binary files /dev/null and b/macros/FunctionAnnotation/FA_GetDefaultPrecision.bin differ diff --git a/macros/FunctionAnnotation/FA_GetFunAnn.bin b/macros/FunctionAnnotation/FA_GetFunAnn.bin new file mode 100644 index 0000000..ff29181 Binary files /dev/null and b/macros/FunctionAnnotation/FA_GetFunAnn.bin differ diff --git a/macros/FunctionAnnotation/FA_GetFunAnn.sci b/macros/FunctionAnnotation/FA_GetFunAnn.sci index d11e3ce..3fadd1f 100644 --- a/macros/FunctionAnnotation/FA_GetFunAnn.sci +++ b/macros/FunctionAnnotation/FA_GetFunAnn.sci @@ -52,7 +52,7 @@ FunSizeAnnot = ''; // --------------------------------------------- // --- Open the .sci file (read only). --- inclsfid = SCI2COpenFileRead(SCI2CClassFileName); - +PrintStringInfo(' '+string(inclsfid),ReportFileName,'file','y'); // #RNU_RES_B // --- Loop over the lines of the input file. --- // Position file pointer to the desired NInArg/NOutArg section, @@ -212,5 +212,6 @@ mclose(inclsfid); // ------------------------------------------------- // --- End Read the annotations of the function. --- // ------------------------------------------------- +PrintStringInfo(' end of annotation '+string(NOutArg_mod),ReportFileName,'file','y'); endfunction diff --git a/macros/FunctionAnnotation/FA_GetOutArgInfo.bin b/macros/FunctionAnnotation/FA_GetOutArgInfo.bin new file mode 100644 index 0000000..89c0d1d Binary files /dev/null and b/macros/FunctionAnnotation/FA_GetOutArgInfo.bin differ diff --git a/macros/FunctionAnnotation/FA_GetResizeApproach.bin b/macros/FunctionAnnotation/FA_GetResizeApproach.bin new file mode 100644 index 0000000..77397e0 Binary files /dev/null and b/macros/FunctionAnnotation/FA_GetResizeApproach.bin differ diff --git a/macros/FunctionAnnotation/FA_INT.bin b/macros/FunctionAnnotation/FA_INT.bin new file mode 100644 index 0000000..edf9bb8 Binary files /dev/null and b/macros/FunctionAnnotation/FA_INT.bin differ diff --git a/macros/FunctionAnnotation/FA_MAX.bin b/macros/FunctionAnnotation/FA_MAX.bin new file mode 100644 index 0000000..a9debba Binary files /dev/null and b/macros/FunctionAnnotation/FA_MAX.bin differ diff --git a/macros/FunctionAnnotation/FA_MIN.bin b/macros/FunctionAnnotation/FA_MIN.bin new file mode 100644 index 0000000..cc9bd02 Binary files /dev/null and b/macros/FunctionAnnotation/FA_MIN.bin differ diff --git a/macros/FunctionAnnotation/FA_MUL.bin b/macros/FunctionAnnotation/FA_MUL.bin new file mode 100644 index 0000000..8b674c2 Binary files /dev/null and b/macros/FunctionAnnotation/FA_MUL.bin differ diff --git a/macros/FunctionAnnotation/FA_REAL.bin b/macros/FunctionAnnotation/FA_REAL.bin new file mode 100644 index 0000000..ed68eb7 Binary files /dev/null and b/macros/FunctionAnnotation/FA_REAL.bin differ diff --git a/macros/FunctionAnnotation/FA_SCHUR_SZ.bin b/macros/FunctionAnnotation/FA_SCHUR_SZ.bin new file mode 100644 index 0000000..292a619 Binary files /dev/null and b/macros/FunctionAnnotation/FA_SCHUR_SZ.bin differ diff --git a/macros/FunctionAnnotation/FA_SCHUR_TP.bin b/macros/FunctionAnnotation/FA_SCHUR_TP.bin new file mode 100644 index 0000000..4b0b438 Binary files /dev/null and b/macros/FunctionAnnotation/FA_SCHUR_TP.bin differ diff --git a/macros/FunctionAnnotation/FA_SUB.bin b/macros/FunctionAnnotation/FA_SUB.bin new file mode 100644 index 0000000..fdc52b4 Binary files /dev/null and b/macros/FunctionAnnotation/FA_SUB.bin differ diff --git a/macros/FunctionAnnotation/FA_SZ_1.bin b/macros/FunctionAnnotation/FA_SZ_1.bin new file mode 100644 index 0000000..c01ff59 Binary files /dev/null and b/macros/FunctionAnnotation/FA_SZ_1.bin differ diff --git a/macros/FunctionAnnotation/FA_SZ_2.bin b/macros/FunctionAnnotation/FA_SZ_2.bin new file mode 100644 index 0000000..00834df Binary files /dev/null and b/macros/FunctionAnnotation/FA_SZ_2.bin differ diff --git a/macros/FunctionAnnotation/FA_SZ_COLUMN_DIAG.bin b/macros/FunctionAnnotation/FA_SZ_COLUMN_DIAG.bin new file mode 100644 index 0000000..a3b34af Binary files /dev/null and b/macros/FunctionAnnotation/FA_SZ_COLUMN_DIAG.bin differ diff --git a/macros/FunctionAnnotation/FA_SZ_COL_DIAG_IN_EX.bin b/macros/FunctionAnnotation/FA_SZ_COL_DIAG_IN_EX.bin new file mode 100644 index 0000000..7674823 Binary files /dev/null and b/macros/FunctionAnnotation/FA_SZ_COL_DIAG_IN_EX.bin differ diff --git a/macros/FunctionAnnotation/FA_SZ_DEC2BASE.bin b/macros/FunctionAnnotation/FA_SZ_DEC2BASE.bin new file mode 100644 index 0000000..879c588 Binary files /dev/null and b/macros/FunctionAnnotation/FA_SZ_DEC2BASE.bin differ diff --git a/macros/FunctionAnnotation/FA_SZ_DEC2BIN.bin b/macros/FunctionAnnotation/FA_SZ_DEC2BIN.bin new file mode 100644 index 0000000..af9d1cb Binary files /dev/null and b/macros/FunctionAnnotation/FA_SZ_DEC2BIN.bin differ diff --git a/macros/FunctionAnnotation/FA_SZ_DEC2HEX.bin b/macros/FunctionAnnotation/FA_SZ_DEC2HEX.bin new file mode 100644 index 0000000..ddabb10 Binary files /dev/null and b/macros/FunctionAnnotation/FA_SZ_DEC2HEX.bin differ diff --git a/macros/FunctionAnnotation/FA_SZ_DEC2OCT.bin b/macros/FunctionAnnotation/FA_SZ_DEC2OCT.bin new file mode 100644 index 0000000..be386e0 Binary files /dev/null and b/macros/FunctionAnnotation/FA_SZ_DEC2OCT.bin differ diff --git a/macros/FunctionAnnotation/FA_SZ_DIFF.bin b/macros/FunctionAnnotation/FA_SZ_DIFF.bin new file mode 100644 index 0000000..08d66c1 Binary files /dev/null and b/macros/FunctionAnnotation/FA_SZ_DIFF.bin differ diff --git a/macros/FunctionAnnotation/FA_SZ_FACTOR.bin b/macros/FunctionAnnotation/FA_SZ_FACTOR.bin new file mode 100644 index 0000000..ee8f899 Binary files /dev/null and b/macros/FunctionAnnotation/FA_SZ_FACTOR.bin differ diff --git a/macros/FunctionAnnotation/FA_SZ_FROM_VAL.bin b/macros/FunctionAnnotation/FA_SZ_FROM_VAL.bin new file mode 100644 index 0000000..a06f3b1 Binary files /dev/null and b/macros/FunctionAnnotation/FA_SZ_FROM_VAL.bin differ diff --git a/macros/FunctionAnnotation/FA_SZ_LINSPACE_ROW.bin b/macros/FunctionAnnotation/FA_SZ_LINSPACE_ROW.bin new file mode 100644 index 0000000..60cb9d4 Binary files /dev/null and b/macros/FunctionAnnotation/FA_SZ_LINSPACE_ROW.bin differ diff --git a/macros/FunctionAnnotation/FA_SZ_LQE.bin b/macros/FunctionAnnotation/FA_SZ_LQE.bin new file mode 100644 index 0000000..8abfa39 Binary files /dev/null and b/macros/FunctionAnnotation/FA_SZ_LQE.bin differ diff --git a/macros/FunctionAnnotation/FA_SZ_LQR.bin b/macros/FunctionAnnotation/FA_SZ_LQR.bin new file mode 100644 index 0000000..843fb2c Binary files /dev/null and b/macros/FunctionAnnotation/FA_SZ_LQR.bin differ diff --git a/macros/FunctionAnnotation/FA_SZ_OBSCNT.bin b/macros/FunctionAnnotation/FA_SZ_OBSCNT.bin new file mode 100644 index 0000000..b936e29 Binary files /dev/null and b/macros/FunctionAnnotation/FA_SZ_OBSCNT.bin differ diff --git a/macros/FunctionAnnotation/FA_SZ_OPAPEX.bin b/macros/FunctionAnnotation/FA_SZ_OPAPEX.bin new file mode 100644 index 0000000..90e5034 Binary files /dev/null and b/macros/FunctionAnnotation/FA_SZ_OPAPEX.bin differ diff --git a/macros/FunctionAnnotation/FA_SZ_OPBACKSLASH.bin b/macros/FunctionAnnotation/FA_SZ_OPBACKSLASH.bin new file mode 100644 index 0000000..be3e89a Binary files /dev/null and b/macros/FunctionAnnotation/FA_SZ_OPBACKSLASH.bin differ diff --git a/macros/FunctionAnnotation/FA_SZ_OPCC.bin b/macros/FunctionAnnotation/FA_SZ_OPCC.bin new file mode 100644 index 0000000..767385a Binary files /dev/null and b/macros/FunctionAnnotation/FA_SZ_OPCC.bin differ diff --git a/macros/FunctionAnnotation/FA_SZ_OPDOTAPEX.bin b/macros/FunctionAnnotation/FA_SZ_OPDOTAPEX.bin new file mode 100644 index 0000000..822cb5e Binary files /dev/null and b/macros/FunctionAnnotation/FA_SZ_OPDOTAPEX.bin differ diff --git a/macros/FunctionAnnotation/FA_SZ_OPDOTBACKSLASH.bin b/macros/FunctionAnnotation/FA_SZ_OPDOTBACKSLASH.bin new file mode 100644 index 0000000..2af7e39 Binary files /dev/null and b/macros/FunctionAnnotation/FA_SZ_OPDOTBACKSLASH.bin differ diff --git a/macros/FunctionAnnotation/FA_SZ_OPDOTHAT.bin b/macros/FunctionAnnotation/FA_SZ_OPDOTHAT.bin new file mode 100644 index 0000000..72d6e23 Binary files /dev/null and b/macros/FunctionAnnotation/FA_SZ_OPDOTHAT.bin differ diff --git a/macros/FunctionAnnotation/FA_SZ_OPDOTSLASH.bin b/macros/FunctionAnnotation/FA_SZ_OPDOTSLASH.bin new file mode 100644 index 0000000..f060e87 Binary files /dev/null and b/macros/FunctionAnnotation/FA_SZ_OPDOTSLASH.bin differ diff --git a/macros/FunctionAnnotation/FA_SZ_OPDOTSTAR.bin b/macros/FunctionAnnotation/FA_SZ_OPDOTSTAR.bin new file mode 100644 index 0000000..6be9a45 Binary files /dev/null and b/macros/FunctionAnnotation/FA_SZ_OPDOTSTAR.bin differ diff --git a/macros/FunctionAnnotation/FA_SZ_OPHAT.bin b/macros/FunctionAnnotation/FA_SZ_OPHAT.bin new file mode 100644 index 0000000..feb8122 Binary files /dev/null and b/macros/FunctionAnnotation/FA_SZ_OPHAT.bin differ diff --git a/macros/FunctionAnnotation/FA_SZ_OPLOGAND.bin b/macros/FunctionAnnotation/FA_SZ_OPLOGAND.bin new file mode 100644 index 0000000..e441912 Binary files /dev/null and b/macros/FunctionAnnotation/FA_SZ_OPLOGAND.bin differ diff --git a/macros/FunctionAnnotation/FA_SZ_OPLOGEQ.bin b/macros/FunctionAnnotation/FA_SZ_OPLOGEQ.bin new file mode 100644 index 0000000..afe431b Binary files /dev/null and b/macros/FunctionAnnotation/FA_SZ_OPLOGEQ.bin differ diff --git a/macros/FunctionAnnotation/FA_SZ_OPLOGGE.bin b/macros/FunctionAnnotation/FA_SZ_OPLOGGE.bin new file mode 100644 index 0000000..87d2d5b Binary files /dev/null and b/macros/FunctionAnnotation/FA_SZ_OPLOGGE.bin differ diff --git a/macros/FunctionAnnotation/FA_SZ_OPLOGGT.bin b/macros/FunctionAnnotation/FA_SZ_OPLOGGT.bin new file mode 100644 index 0000000..c3a1d88 Binary files /dev/null and b/macros/FunctionAnnotation/FA_SZ_OPLOGGT.bin differ diff --git a/macros/FunctionAnnotation/FA_SZ_OPLOGLE.bin b/macros/FunctionAnnotation/FA_SZ_OPLOGLE.bin new file mode 100644 index 0000000..8021605 Binary files /dev/null and b/macros/FunctionAnnotation/FA_SZ_OPLOGLE.bin differ diff --git a/macros/FunctionAnnotation/FA_SZ_OPLOGLT.bin b/macros/FunctionAnnotation/FA_SZ_OPLOGLT.bin new file mode 100644 index 0000000..417fe26 Binary files /dev/null and b/macros/FunctionAnnotation/FA_SZ_OPLOGLT.bin differ diff --git a/macros/FunctionAnnotation/FA_SZ_OPLOGNE.bin b/macros/FunctionAnnotation/FA_SZ_OPLOGNE.bin new file mode 100644 index 0000000..6c9f9bf Binary files /dev/null and b/macros/FunctionAnnotation/FA_SZ_OPLOGNE.bin differ diff --git a/macros/FunctionAnnotation/FA_SZ_OPLOGNOT.bin b/macros/FunctionAnnotation/FA_SZ_OPLOGNOT.bin new file mode 100644 index 0000000..417a919 Binary files /dev/null and b/macros/FunctionAnnotation/FA_SZ_OPLOGNOT.bin differ diff --git a/macros/FunctionAnnotation/FA_SZ_OPLOGOR.bin b/macros/FunctionAnnotation/FA_SZ_OPLOGOR.bin new file mode 100644 index 0000000..af6c2a8 Binary files /dev/null and b/macros/FunctionAnnotation/FA_SZ_OPLOGOR.bin differ diff --git a/macros/FunctionAnnotation/FA_SZ_OPMINUS.bin b/macros/FunctionAnnotation/FA_SZ_OPMINUS.bin new file mode 100644 index 0000000..deac97d Binary files /dev/null and b/macros/FunctionAnnotation/FA_SZ_OPMINUS.bin differ diff --git a/macros/FunctionAnnotation/FA_SZ_OPPLUS.bin b/macros/FunctionAnnotation/FA_SZ_OPPLUS.bin new file mode 100644 index 0000000..da84349 Binary files /dev/null and b/macros/FunctionAnnotation/FA_SZ_OPPLUS.bin differ diff --git a/macros/FunctionAnnotation/FA_SZ_OPPLUSA.bin b/macros/FunctionAnnotation/FA_SZ_OPPLUSA.bin new file mode 100644 index 0000000..b45ac59 Binary files /dev/null and b/macros/FunctionAnnotation/FA_SZ_OPPLUSA.bin differ diff --git a/macros/FunctionAnnotation/FA_SZ_OPRC.bin b/macros/FunctionAnnotation/FA_SZ_OPRC.bin new file mode 100644 index 0000000..6d55e27 Binary files /dev/null and b/macros/FunctionAnnotation/FA_SZ_OPRC.bin differ diff --git a/macros/FunctionAnnotation/FA_SZ_OPSLASH.bin b/macros/FunctionAnnotation/FA_SZ_OPSLASH.bin new file mode 100644 index 0000000..14bb17f Binary files /dev/null and b/macros/FunctionAnnotation/FA_SZ_OPSLASH.bin differ diff --git a/macros/FunctionAnnotation/FA_SZ_OPSTAR.bin b/macros/FunctionAnnotation/FA_SZ_OPSTAR.bin new file mode 100644 index 0000000..2f28cb6 Binary files /dev/null and b/macros/FunctionAnnotation/FA_SZ_OPSTAR.bin differ diff --git a/macros/FunctionAnnotation/FA_SZ_PRIMES.bin b/macros/FunctionAnnotation/FA_SZ_PRIMES.bin new file mode 100644 index 0000000..353edab Binary files /dev/null and b/macros/FunctionAnnotation/FA_SZ_PRIMES.bin differ diff --git a/macros/FunctionAnnotation/FA_SZ_ROW_COLUMN_CAT.bin b/macros/FunctionAnnotation/FA_SZ_ROW_COLUMN_CAT.bin new file mode 100644 index 0000000..3b0c0b7 Binary files /dev/null and b/macros/FunctionAnnotation/FA_SZ_ROW_COLUMN_CAT.bin differ diff --git a/macros/FunctionAnnotation/FA_SZ_ROW_DIAG.bin b/macros/FunctionAnnotation/FA_SZ_ROW_DIAG.bin new file mode 100644 index 0000000..f5f1a23 Binary files /dev/null and b/macros/FunctionAnnotation/FA_SZ_ROW_DIAG.bin differ diff --git a/macros/FunctionAnnotation/FA_SZ_ROW_DIAG_INS_EXT.bin b/macros/FunctionAnnotation/FA_SZ_ROW_DIAG_INS_EXT.bin new file mode 100644 index 0000000..e5d8e65 Binary files /dev/null and b/macros/FunctionAnnotation/FA_SZ_ROW_DIAG_INS_EXT.bin differ diff --git a/macros/FunctionAnnotation/FA_SZ_SEL1.bin b/macros/FunctionAnnotation/FA_SZ_SEL1.bin new file mode 100644 index 0000000..1d68a2e Binary files /dev/null and b/macros/FunctionAnnotation/FA_SZ_SEL1.bin differ diff --git a/macros/FunctionAnnotation/FA_SZ_SEL2.bin b/macros/FunctionAnnotation/FA_SZ_SEL2.bin new file mode 100644 index 0000000..d3897f7 Binary files /dev/null and b/macros/FunctionAnnotation/FA_SZ_SEL2.bin differ diff --git a/macros/FunctionAnnotation/FA_TP_C.bin b/macros/FunctionAnnotation/FA_TP_C.bin new file mode 100644 index 0000000..d13d92c Binary files /dev/null and b/macros/FunctionAnnotation/FA_TP_C.bin differ diff --git a/macros/FunctionAnnotation/FA_TP_COMPLEX.bin b/macros/FunctionAnnotation/FA_TP_COMPLEX.bin new file mode 100644 index 0000000..3400b2a Binary files /dev/null and b/macros/FunctionAnnotation/FA_TP_COMPLEX.bin differ diff --git a/macros/FunctionAnnotation/FA_TP_CVIMAGE.bin b/macros/FunctionAnnotation/FA_TP_CVIMAGE.bin new file mode 100644 index 0000000..a732709 Binary files /dev/null and b/macros/FunctionAnnotation/FA_TP_CVIMAGE.bin differ diff --git a/macros/FunctionAnnotation/FA_TP_D.bin b/macros/FunctionAnnotation/FA_TP_D.bin new file mode 100644 index 0000000..12293da Binary files /dev/null and b/macros/FunctionAnnotation/FA_TP_D.bin differ diff --git a/macros/FunctionAnnotation/FA_TP_I.bin b/macros/FunctionAnnotation/FA_TP_I.bin new file mode 100644 index 0000000..503be40 Binary files /dev/null and b/macros/FunctionAnnotation/FA_TP_I.bin differ diff --git a/macros/FunctionAnnotation/FA_TP_INT16.bin b/macros/FunctionAnnotation/FA_TP_INT16.bin new file mode 100644 index 0000000..fba4305 Binary files /dev/null and b/macros/FunctionAnnotation/FA_TP_INT16.bin differ diff --git a/macros/FunctionAnnotation/FA_TP_INT8.bin b/macros/FunctionAnnotation/FA_TP_INT8.bin new file mode 100644 index 0000000..f67d748 Binary files /dev/null and b/macros/FunctionAnnotation/FA_TP_INT8.bin differ diff --git a/macros/FunctionAnnotation/FA_TP_MAX.bin b/macros/FunctionAnnotation/FA_TP_MAX.bin new file mode 100644 index 0000000..099ea1b Binary files /dev/null and b/macros/FunctionAnnotation/FA_TP_MAX.bin differ diff --git a/macros/FunctionAnnotation/FA_TP_MIN_REAL.bin b/macros/FunctionAnnotation/FA_TP_MIN_REAL.bin new file mode 100644 index 0000000..60293a1 Binary files /dev/null and b/macros/FunctionAnnotation/FA_TP_MIN_REAL.bin differ diff --git a/macros/FunctionAnnotation/FA_TP_REAL.bin b/macros/FunctionAnnotation/FA_TP_REAL.bin new file mode 100644 index 0000000..7e54122 Binary files /dev/null and b/macros/FunctionAnnotation/FA_TP_REAL.bin differ diff --git a/macros/FunctionAnnotation/FA_TP_S.bin b/macros/FunctionAnnotation/FA_TP_S.bin new file mode 100644 index 0000000..1419e46 Binary files /dev/null and b/macros/FunctionAnnotation/FA_TP_S.bin differ diff --git a/macros/FunctionAnnotation/FA_TP_UINT16.bin b/macros/FunctionAnnotation/FA_TP_UINT16.bin new file mode 100644 index 0000000..dc455ca Binary files /dev/null and b/macros/FunctionAnnotation/FA_TP_UINT16.bin differ diff --git a/macros/FunctionAnnotation/FA_TP_UINT8.bin b/macros/FunctionAnnotation/FA_TP_UINT8.bin new file mode 100644 index 0000000..508db41 Binary files /dev/null and b/macros/FunctionAnnotation/FA_TP_UINT8.bin differ diff --git a/macros/FunctionAnnotation/FA_TP_USER.bin b/macros/FunctionAnnotation/FA_TP_USER.bin new file mode 100644 index 0000000..87e18d5 Binary files /dev/null and b/macros/FunctionAnnotation/FA_TP_USER.bin differ diff --git a/macros/FunctionAnnotation/FA_TP_Z.bin b/macros/FunctionAnnotation/FA_TP_Z.bin new file mode 100644 index 0000000..6c37172 Binary files /dev/null and b/macros/FunctionAnnotation/FA_TP_Z.bin differ diff --git a/macros/FunctionAnnotation/lib b/macros/FunctionAnnotation/lib index f02997b..600d25d 100644 Binary files a/macros/FunctionAnnotation/lib and b/macros/FunctionAnnotation/lib differ diff --git a/macros/FunctionList/FL_ExistCFunction.bin b/macros/FunctionList/FL_ExistCFunction.bin new file mode 100644 index 0000000..1c85aa2 Binary files /dev/null and b/macros/FunctionList/FL_ExistCFunction.bin differ diff --git a/macros/FunctionList/FL_ExtractFuncList.bin b/macros/FunctionList/FL_ExtractFuncList.bin new file mode 100644 index 0000000..ec74708 Binary files /dev/null and b/macros/FunctionList/FL_ExtractFuncList.bin differ diff --git a/macros/FunctionList/FL_GetFunctionClass.bin b/macros/FunctionList/FL_GetFunctionClass.bin new file mode 100644 index 0000000..faa210e Binary files /dev/null and b/macros/FunctionList/FL_GetFunctionClass.bin differ diff --git a/macros/FunctionList/FL_InOutArgs2CFunNames.bin b/macros/FunctionList/FL_InOutArgs2CFunNames.bin new file mode 100644 index 0000000..09d5eb5 Binary files /dev/null and b/macros/FunctionList/FL_InOutArgs2CFunNames.bin differ diff --git a/macros/FunctionList/FL_UpdateConverted.bin b/macros/FunctionList/FL_UpdateConverted.bin new file mode 100644 index 0000000..73f2cf0 Binary files /dev/null and b/macros/FunctionList/FL_UpdateConverted.bin differ diff --git a/macros/FunctionList/FL_UpdateToBeConv.bin b/macros/FunctionList/FL_UpdateToBeConv.bin new file mode 100644 index 0000000..44b5803 Binary files /dev/null and b/macros/FunctionList/FL_UpdateToBeConv.bin differ diff --git a/macros/FunctionList/lib b/macros/FunctionList/lib index 2bbf0cb..30a44ee 100644 Binary files a/macros/FunctionList/lib and b/macros/FunctionList/lib differ diff --git a/macros/GeneralFunctions/Array2String.bin b/macros/GeneralFunctions/Array2String.bin new file mode 100644 index 0000000..c40274d Binary files /dev/null and b/macros/GeneralFunctions/Array2String.bin differ diff --git a/macros/GeneralFunctions/ConvertPathMat2C.bin b/macros/GeneralFunctions/ConvertPathMat2C.bin new file mode 100644 index 0000000..7dd1422 Binary files /dev/null and b/macros/GeneralFunctions/ConvertPathMat2C.bin differ diff --git a/macros/GeneralFunctions/File2StringArray.bin b/macros/GeneralFunctions/File2StringArray.bin new file mode 100644 index 0000000..1b050f4 Binary files /dev/null and b/macros/GeneralFunctions/File2StringArray.bin differ diff --git a/macros/GeneralFunctions/FunName2SciFileName.bin b/macros/GeneralFunctions/FunName2SciFileName.bin new file mode 100644 index 0000000..c3cb538 Binary files /dev/null and b/macros/GeneralFunctions/FunName2SciFileName.bin differ diff --git a/macros/GeneralFunctions/IsNanSize.bin b/macros/GeneralFunctions/IsNanSize.bin new file mode 100644 index 0000000..7173512 Binary files /dev/null and b/macros/GeneralFunctions/IsNanSize.bin differ diff --git a/macros/GeneralFunctions/KeyStr2FileStrPos.bin b/macros/GeneralFunctions/KeyStr2FileStrPos.bin new file mode 100644 index 0000000..5c6cfaf Binary files /dev/null and b/macros/GeneralFunctions/KeyStr2FileStrPos.bin differ diff --git a/macros/GeneralFunctions/PrintStepInfo.bin b/macros/GeneralFunctions/PrintStepInfo.bin new file mode 100644 index 0000000..98208f8 Binary files /dev/null and b/macros/GeneralFunctions/PrintStepInfo.bin differ diff --git a/macros/GeneralFunctions/PrintStringInfo.bin b/macros/GeneralFunctions/PrintStringInfo.bin new file mode 100644 index 0000000..c936b20 Binary files /dev/null and b/macros/GeneralFunctions/PrintStringInfo.bin differ diff --git a/macros/GeneralFunctions/ReadStringCard.bin b/macros/GeneralFunctions/ReadStringCard.bin new file mode 100644 index 0000000..f9b2828 Binary files /dev/null and b/macros/GeneralFunctions/ReadStringCard.bin differ diff --git a/macros/GeneralFunctions/SCI2CCreateDir.bin b/macros/GeneralFunctions/SCI2CCreateDir.bin new file mode 100644 index 0000000..007b6fb Binary files /dev/null and b/macros/GeneralFunctions/SCI2CCreateDir.bin differ diff --git a/macros/GeneralFunctions/SCI2CFindFile.bin b/macros/GeneralFunctions/SCI2CFindFile.bin new file mode 100644 index 0000000..fe8e783 Binary files /dev/null and b/macros/GeneralFunctions/SCI2CFindFile.bin differ diff --git a/macros/GeneralFunctions/SCI2CNInArgCheck.bin b/macros/GeneralFunctions/SCI2CNInArgCheck.bin new file mode 100644 index 0000000..8d96b6e Binary files /dev/null and b/macros/GeneralFunctions/SCI2CNInArgCheck.bin differ diff --git a/macros/GeneralFunctions/SCI2COpenFileRead.bin b/macros/GeneralFunctions/SCI2COpenFileRead.bin new file mode 100644 index 0000000..f3f6a5e Binary files /dev/null and b/macros/GeneralFunctions/SCI2COpenFileRead.bin differ diff --git a/macros/GeneralFunctions/SCI2COpenFileWrite.bin b/macros/GeneralFunctions/SCI2COpenFileWrite.bin new file mode 100644 index 0000000..0287b3a Binary files /dev/null and b/macros/GeneralFunctions/SCI2COpenFileWrite.bin differ diff --git a/macros/GeneralFunctions/SCI2CTemplate.bin b/macros/GeneralFunctions/SCI2CTemplate.bin new file mode 100644 index 0000000..c485b45 Binary files /dev/null and b/macros/GeneralFunctions/SCI2CTemplate.bin differ diff --git a/macros/GeneralFunctions/SCI2Ccopyfile.bin b/macros/GeneralFunctions/SCI2Ccopyfile.bin new file mode 100644 index 0000000..e6d0a86 Binary files /dev/null and b/macros/GeneralFunctions/SCI2Ccopyfile.bin differ diff --git a/macros/GeneralFunctions/SCI2Cfileexist.bin b/macros/GeneralFunctions/SCI2Cfileexist.bin new file mode 100644 index 0000000..524c8c4 Binary files /dev/null and b/macros/GeneralFunctions/SCI2Cfileexist.bin differ diff --git a/macros/GeneralFunctions/SCI2Cflipud.bin b/macros/GeneralFunctions/SCI2Cflipud.bin new file mode 100644 index 0000000..baf71bb Binary files /dev/null and b/macros/GeneralFunctions/SCI2Cflipud.bin differ diff --git a/macros/GeneralFunctions/SCI2Cmdelete.bin b/macros/GeneralFunctions/SCI2Cmdelete.bin new file mode 100644 index 0000000..67694b7 Binary files /dev/null and b/macros/GeneralFunctions/SCI2Cmdelete.bin differ diff --git a/macros/GeneralFunctions/SCI2Cresize.bin b/macros/GeneralFunctions/SCI2Cresize.bin new file mode 100644 index 0000000..a909d30 Binary files /dev/null and b/macros/GeneralFunctions/SCI2Cresize.bin differ diff --git a/macros/GeneralFunctions/SCI2Cstring.bin b/macros/GeneralFunctions/SCI2Cstring.bin new file mode 100644 index 0000000..887482b Binary files /dev/null and b/macros/GeneralFunctions/SCI2Cstring.bin differ diff --git a/macros/GeneralFunctions/SCI2Cstrncmp.bin b/macros/GeneralFunctions/SCI2Cstrncmp.bin new file mode 100644 index 0000000..78ce9a1 Binary files /dev/null and b/macros/GeneralFunctions/SCI2Cstrncmp.bin differ diff --git a/macros/GeneralFunctions/SCI2Cstrncmps1size.bin b/macros/GeneralFunctions/SCI2Cstrncmps1size.bin new file mode 100644 index 0000000..e9a45d9 Binary files /dev/null and b/macros/GeneralFunctions/SCI2Cstrncmps1size.bin differ diff --git a/macros/GeneralFunctions/SizeInByte.bin b/macros/GeneralFunctions/SizeInByte.bin new file mode 100644 index 0000000..04c7a75 Binary files /dev/null and b/macros/GeneralFunctions/SizeInByte.bin differ diff --git a/macros/GeneralFunctions/dispina.bin b/macros/GeneralFunctions/dispina.bin new file mode 100644 index 0000000..25d03fa Binary files /dev/null and b/macros/GeneralFunctions/dispina.bin differ diff --git a/macros/GeneralFunctions/filenamefprintf.bin b/macros/GeneralFunctions/filenamefprintf.bin new file mode 100644 index 0000000..864a494 Binary files /dev/null and b/macros/GeneralFunctions/filenamefprintf.bin differ diff --git a/macros/GeneralFunctions/float.bin b/macros/GeneralFunctions/float.bin new file mode 100644 index 0000000..fd0c449 Binary files /dev/null and b/macros/GeneralFunctions/float.bin differ diff --git a/macros/GeneralFunctions/lib b/macros/GeneralFunctions/lib index e1d6f0f..30d8779 100644 Binary files a/macros/GeneralFunctions/lib and b/macros/GeneralFunctions/lib differ diff --git a/macros/GeneralFunctions/squeezestrings.bin b/macros/GeneralFunctions/squeezestrings.bin new file mode 100644 index 0000000..11b97ec Binary files /dev/null and b/macros/GeneralFunctions/squeezestrings.bin differ diff --git a/macros/Hardware/AVR/AVRADCSetup.bin b/macros/Hardware/AVR/AVRADCSetup.bin new file mode 100644 index 0000000..a1cbcf3 Binary files /dev/null and b/macros/Hardware/AVR/AVRADCSetup.bin differ diff --git a/macros/Hardware/AVR/AVRDigitalIn.bin b/macros/Hardware/AVR/AVRDigitalIn.bin new file mode 100644 index 0000000..0fdfab8 Binary files /dev/null and b/macros/Hardware/AVR/AVRDigitalIn.bin differ diff --git a/macros/Hardware/AVR/AVRDigitalOut.bin b/macros/Hardware/AVR/AVRDigitalOut.bin new file mode 100644 index 0000000..7e56e46 Binary files /dev/null and b/macros/Hardware/AVR/AVRDigitalOut.bin differ diff --git a/macros/Hardware/AVR/AVRDigitalPortSetup.bin b/macros/Hardware/AVR/AVRDigitalPortSetup.bin new file mode 100644 index 0000000..cf96fbb Binary files /dev/null and b/macros/Hardware/AVR/AVRDigitalPortSetup.bin differ diff --git a/macros/Hardware/AVR/AVRDigitalSetup.bin b/macros/Hardware/AVR/AVRDigitalSetup.bin new file mode 100644 index 0000000..dec6eb2 Binary files /dev/null and b/macros/Hardware/AVR/AVRDigitalSetup.bin differ diff --git a/macros/Hardware/AVR/AVRGetTimerValue.bin b/macros/Hardware/AVR/AVRGetTimerValue.bin new file mode 100644 index 0000000..1b88313 Binary files /dev/null and b/macros/Hardware/AVR/AVRGetTimerValue.bin differ diff --git a/macros/Hardware/AVR/AVRPWM0SetDuty.bin b/macros/Hardware/AVR/AVRPWM0SetDuty.bin new file mode 100644 index 0000000..1518222 Binary files /dev/null and b/macros/Hardware/AVR/AVRPWM0SetDuty.bin differ diff --git a/macros/Hardware/AVR/AVRPWM0Setup.bin b/macros/Hardware/AVR/AVRPWM0Setup.bin new file mode 100644 index 0000000..0886704 Binary files /dev/null and b/macros/Hardware/AVR/AVRPWM0Setup.bin differ diff --git a/macros/Hardware/AVR/AVRPWM1SetDuty.bin b/macros/Hardware/AVR/AVRPWM1SetDuty.bin new file mode 100644 index 0000000..79e4ab6 Binary files /dev/null and b/macros/Hardware/AVR/AVRPWM1SetDuty.bin differ diff --git a/macros/Hardware/AVR/AVRPWM1Setup.bin b/macros/Hardware/AVR/AVRPWM1Setup.bin new file mode 100644 index 0000000..235cdba Binary files /dev/null and b/macros/Hardware/AVR/AVRPWM1Setup.bin differ diff --git a/macros/Hardware/AVR/AVRPWM2SetDuty.bin b/macros/Hardware/AVR/AVRPWM2SetDuty.bin new file mode 100644 index 0000000..a1c7f3b Binary files /dev/null and b/macros/Hardware/AVR/AVRPWM2SetDuty.bin differ diff --git a/macros/Hardware/AVR/AVRPWM2Setup.bin b/macros/Hardware/AVR/AVRPWM2Setup.bin new file mode 100644 index 0000000..66996c0 Binary files /dev/null and b/macros/Hardware/AVR/AVRPWM2Setup.bin differ diff --git a/macros/Hardware/AVR/AVRReadADC.bin b/macros/Hardware/AVR/AVRReadADC.bin new file mode 100644 index 0000000..25b45a8 Binary files /dev/null and b/macros/Hardware/AVR/AVRReadADC.bin differ diff --git a/macros/Hardware/AVR/AVRSleep.bin b/macros/Hardware/AVR/AVRSleep.bin new file mode 100644 index 0000000..e4b10d8 Binary files /dev/null and b/macros/Hardware/AVR/AVRSleep.bin differ diff --git a/macros/Hardware/AVR/AVRTimerSetup.bin b/macros/Hardware/AVR/AVRTimerSetup.bin new file mode 100644 index 0000000..775d718 Binary files /dev/null and b/macros/Hardware/AVR/AVRTimerSetup.bin differ diff --git a/macros/Hardware/AVR/AVRUARTReceive.bin b/macros/Hardware/AVR/AVRUARTReceive.bin new file mode 100644 index 0000000..013036e Binary files /dev/null and b/macros/Hardware/AVR/AVRUARTReceive.bin differ diff --git a/macros/Hardware/AVR/AVRUARTSetup.bin b/macros/Hardware/AVR/AVRUARTSetup.bin new file mode 100644 index 0000000..82ec291 Binary files /dev/null and b/macros/Hardware/AVR/AVRUARTSetup.bin differ diff --git a/macros/Hardware/AVR/AVRUARTTransmit.bin b/macros/Hardware/AVR/AVRUARTTransmit.bin new file mode 100644 index 0000000..9e53d9a Binary files /dev/null and b/macros/Hardware/AVR/AVRUARTTransmit.bin differ diff --git a/macros/Hardware/AVR/GetAVRSupportFunctions.bin b/macros/Hardware/AVR/GetAVRSupportFunctions.bin new file mode 100644 index 0000000..48ab5cd Binary files /dev/null and b/macros/Hardware/AVR/GetAVRSupportFunctions.bin differ diff --git a/macros/Hardware/AVR/GetPeripheral.bin b/macros/Hardware/AVR/GetPeripheral.bin new file mode 100644 index 0000000..b496bbb Binary files /dev/null and b/macros/Hardware/AVR/GetPeripheral.bin differ diff --git a/macros/Hardware/AVR/InsertPeripheralInList.bin b/macros/Hardware/AVR/InsertPeripheralInList.bin new file mode 100644 index 0000000..c49f4e0 Binary files /dev/null and b/macros/Hardware/AVR/InsertPeripheralInList.bin differ diff --git a/macros/Hardware/AVR/IsAVRSupportFunction.bin b/macros/Hardware/AVR/IsAVRSupportFunction.bin new file mode 100644 index 0000000..e238230 Binary files /dev/null and b/macros/Hardware/AVR/IsAVRSupportFunction.bin differ diff --git a/macros/Hardware/AVR/lib b/macros/Hardware/AVR/lib index 5c8f0da..2b6d33d 100644 Binary files a/macros/Hardware/AVR/lib and b/macros/Hardware/AVR/lib differ diff --git a/macros/Hardware/RasberryPi/GetRPISupportFunctions.bin b/macros/Hardware/RasberryPi/GetRPISupportFunctions.bin new file mode 100644 index 0000000..a70999c Binary files /dev/null and b/macros/Hardware/RasberryPi/GetRPISupportFunctions.bin differ diff --git a/macros/Hardware/RasberryPi/IsRPISupportFunction.bin b/macros/Hardware/RasberryPi/IsRPISupportFunction.bin new file mode 100644 index 0000000..11533d3 Binary files /dev/null and b/macros/Hardware/RasberryPi/IsRPISupportFunction.bin differ diff --git a/macros/Hardware/RasberryPi/RPI_DelayMicro.bin b/macros/Hardware/RasberryPi/RPI_DelayMicro.bin new file mode 100644 index 0000000..a4d32cb Binary files /dev/null and b/macros/Hardware/RasberryPi/RPI_DelayMicro.bin differ diff --git a/macros/Hardware/RasberryPi/RPI_DelayMilli.bin b/macros/Hardware/RasberryPi/RPI_DelayMilli.bin new file mode 100644 index 0000000..b6eeb30 Binary files /dev/null and b/macros/Hardware/RasberryPi/RPI_DelayMilli.bin differ diff --git a/macros/Hardware/RasberryPi/RPI_DigitalIn.bin b/macros/Hardware/RasberryPi/RPI_DigitalIn.bin new file mode 100644 index 0000000..f4c16f3 Binary files /dev/null and b/macros/Hardware/RasberryPi/RPI_DigitalIn.bin differ diff --git a/macros/Hardware/RasberryPi/RPI_DigitalOut.bin b/macros/Hardware/RasberryPi/RPI_DigitalOut.bin new file mode 100644 index 0000000..b7ad06e Binary files /dev/null and b/macros/Hardware/RasberryPi/RPI_DigitalOut.bin differ diff --git a/macros/Hardware/RasberryPi/RPI_DigitalSetup.bin b/macros/Hardware/RasberryPi/RPI_DigitalSetup.bin new file mode 100644 index 0000000..1ac5b58 Binary files /dev/null and b/macros/Hardware/RasberryPi/RPI_DigitalSetup.bin differ diff --git a/macros/Hardware/RasberryPi/RPI_GetMicros.bin b/macros/Hardware/RasberryPi/RPI_GetMicros.bin new file mode 100644 index 0000000..3e6c08f Binary files /dev/null and b/macros/Hardware/RasberryPi/RPI_GetMicros.bin differ diff --git a/macros/Hardware/RasberryPi/RPI_GetMillis.bin b/macros/Hardware/RasberryPi/RPI_GetMillis.bin new file mode 100644 index 0000000..b914365 Binary files /dev/null and b/macros/Hardware/RasberryPi/RPI_GetMillis.bin differ diff --git a/macros/Hardware/RasberryPi/RPI_HardPWMSetClock.bin b/macros/Hardware/RasberryPi/RPI_HardPWMSetClock.bin new file mode 100644 index 0000000..1efe080 Binary files /dev/null and b/macros/Hardware/RasberryPi/RPI_HardPWMSetClock.bin differ diff --git a/macros/Hardware/RasberryPi/RPI_HardPWMSetMode.bin b/macros/Hardware/RasberryPi/RPI_HardPWMSetMode.bin new file mode 100644 index 0000000..075d6e6 Binary files /dev/null and b/macros/Hardware/RasberryPi/RPI_HardPWMSetMode.bin differ diff --git a/macros/Hardware/RasberryPi/RPI_HardPWMSetRange.bin b/macros/Hardware/RasberryPi/RPI_HardPWMSetRange.bin new file mode 100644 index 0000000..8ded270 Binary files /dev/null and b/macros/Hardware/RasberryPi/RPI_HardPWMSetRange.bin differ diff --git a/macros/Hardware/RasberryPi/RPI_HardPWMWrite.bin b/macros/Hardware/RasberryPi/RPI_HardPWMWrite.bin new file mode 100644 index 0000000..9957f3a Binary files /dev/null and b/macros/Hardware/RasberryPi/RPI_HardPWMWrite.bin differ diff --git a/macros/Hardware/RasberryPi/RPI_PinISR.bin b/macros/Hardware/RasberryPi/RPI_PinISR.bin new file mode 100644 index 0000000..ddeff68 Binary files /dev/null and b/macros/Hardware/RasberryPi/RPI_PinISR.bin differ diff --git a/macros/Hardware/RasberryPi/RPI_SerialClose.bin b/macros/Hardware/RasberryPi/RPI_SerialClose.bin new file mode 100644 index 0000000..dce972d Binary files /dev/null and b/macros/Hardware/RasberryPi/RPI_SerialClose.bin differ diff --git a/macros/Hardware/RasberryPi/RPI_SerialFlush.bin b/macros/Hardware/RasberryPi/RPI_SerialFlush.bin new file mode 100644 index 0000000..2a3704d Binary files /dev/null and b/macros/Hardware/RasberryPi/RPI_SerialFlush.bin differ diff --git a/macros/Hardware/RasberryPi/RPI_SerialGetChar.bin b/macros/Hardware/RasberryPi/RPI_SerialGetChar.bin new file mode 100644 index 0000000..928f28a Binary files /dev/null and b/macros/Hardware/RasberryPi/RPI_SerialGetChar.bin differ diff --git a/macros/Hardware/RasberryPi/RPI_SerialSendChar.bin b/macros/Hardware/RasberryPi/RPI_SerialSendChar.bin new file mode 100644 index 0000000..7614ebc Binary files /dev/null and b/macros/Hardware/RasberryPi/RPI_SerialSendChar.bin differ diff --git a/macros/Hardware/RasberryPi/RPI_SerialSendData.bin b/macros/Hardware/RasberryPi/RPI_SerialSendData.bin new file mode 100644 index 0000000..a3524a6 Binary files /dev/null and b/macros/Hardware/RasberryPi/RPI_SerialSendData.bin differ diff --git a/macros/Hardware/RasberryPi/RPI_SerialSetup.bin b/macros/Hardware/RasberryPi/RPI_SerialSetup.bin new file mode 100644 index 0000000..0128c27 Binary files /dev/null and b/macros/Hardware/RasberryPi/RPI_SerialSetup.bin differ diff --git a/macros/Hardware/RasberryPi/lib b/macros/Hardware/RasberryPi/lib index 9afd77d..c15f8e8 100644 Binary files a/macros/Hardware/RasberryPi/lib and b/macros/Hardware/RasberryPi/lib differ diff --git a/macros/Hardware/RasberryPi/u16RPISerialDataAvail.bin b/macros/Hardware/RasberryPi/u16RPISerialDataAvail.bin new file mode 100644 index 0000000..3789bd6 Binary files /dev/null and b/macros/Hardware/RasberryPi/u16RPISerialDataAvail.bin differ diff --git a/macros/ImageProcessing/core/CV_CreateImage.bin b/macros/ImageProcessing/core/CV_CreateImage.bin new file mode 100644 index 0000000..d5aa308 Binary files /dev/null and b/macros/ImageProcessing/core/CV_CreateImage.bin differ diff --git a/macros/ImageProcessing/core/CV_GetImgSize.bin b/macros/ImageProcessing/core/CV_GetImgSize.bin new file mode 100644 index 0000000..ede60e6 Binary files /dev/null and b/macros/ImageProcessing/core/CV_GetImgSize.bin differ diff --git a/macros/ImageProcessing/core/lib b/macros/ImageProcessing/core/lib index 5605351..5ea8660 100644 Binary files a/macros/ImageProcessing/core/lib and b/macros/ImageProcessing/core/lib differ diff --git a/macros/ImageProcessing/highgui/CV_LoadImage.bin b/macros/ImageProcessing/highgui/CV_LoadImage.bin new file mode 100644 index 0000000..f8e1337 Binary files /dev/null and b/macros/ImageProcessing/highgui/CV_LoadImage.bin differ diff --git a/macros/ImageProcessing/highgui/CV_SaveImage.bin b/macros/ImageProcessing/highgui/CV_SaveImage.bin new file mode 100644 index 0000000..8d056bf Binary files /dev/null and b/macros/ImageProcessing/highgui/CV_SaveImage.bin differ diff --git a/macros/ImageProcessing/highgui/CV_ShowImage.bin b/macros/ImageProcessing/highgui/CV_ShowImage.bin new file mode 100644 index 0000000..c4e00fc Binary files /dev/null and b/macros/ImageProcessing/highgui/CV_ShowImage.bin differ diff --git a/macros/ImageProcessing/highgui/CV_WaitKey.bin b/macros/ImageProcessing/highgui/CV_WaitKey.bin new file mode 100644 index 0000000..30a42f4 Binary files /dev/null and b/macros/ImageProcessing/highgui/CV_WaitKey.bin differ diff --git a/macros/ImageProcessing/highgui/lib b/macros/ImageProcessing/highgui/lib index a46d5d8..b43eb00 100644 Binary files a/macros/ImageProcessing/highgui/lib and b/macros/ImageProcessing/highgui/lib differ diff --git a/macros/ImageProcessing/imgproc/CV_AdaptiveThreshold.bin b/macros/ImageProcessing/imgproc/CV_AdaptiveThreshold.bin new file mode 100644 index 0000000..26a58c0 Binary files /dev/null and b/macros/ImageProcessing/imgproc/CV_AdaptiveThreshold.bin differ diff --git a/macros/ImageProcessing/imgproc/CV_Blur.bin b/macros/ImageProcessing/imgproc/CV_Blur.bin new file mode 100644 index 0000000..9fc1af4 Binary files /dev/null and b/macros/ImageProcessing/imgproc/CV_Blur.bin differ diff --git a/macros/ImageProcessing/imgproc/CV_Canny.bin b/macros/ImageProcessing/imgproc/CV_Canny.bin new file mode 100644 index 0000000..df82478 Binary files /dev/null and b/macros/ImageProcessing/imgproc/CV_Canny.bin differ diff --git a/macros/ImageProcessing/imgproc/CV_CornerHarris.bin b/macros/ImageProcessing/imgproc/CV_CornerHarris.bin new file mode 100644 index 0000000..291d3e4 Binary files /dev/null and b/macros/ImageProcessing/imgproc/CV_CornerHarris.bin differ diff --git a/macros/ImageProcessing/imgproc/CV_CvtColor.bin b/macros/ImageProcessing/imgproc/CV_CvtColor.bin new file mode 100644 index 0000000..eee1018 Binary files /dev/null and b/macros/ImageProcessing/imgproc/CV_CvtColor.bin differ diff --git a/macros/ImageProcessing/imgproc/CV_Dilate.bin b/macros/ImageProcessing/imgproc/CV_Dilate.bin new file mode 100644 index 0000000..3f2d2d9 Binary files /dev/null and b/macros/ImageProcessing/imgproc/CV_Dilate.bin differ diff --git a/macros/ImageProcessing/imgproc/CV_DistanceTransform.bin b/macros/ImageProcessing/imgproc/CV_DistanceTransform.bin new file mode 100644 index 0000000..0955b5f Binary files /dev/null and b/macros/ImageProcessing/imgproc/CV_DistanceTransform.bin differ diff --git a/macros/ImageProcessing/imgproc/CV_Erode.bin b/macros/ImageProcessing/imgproc/CV_Erode.bin new file mode 100644 index 0000000..33d4231 Binary files /dev/null and b/macros/ImageProcessing/imgproc/CV_Erode.bin differ diff --git a/macros/ImageProcessing/imgproc/CV_GaussianBlur.bin b/macros/ImageProcessing/imgproc/CV_GaussianBlur.bin new file mode 100644 index 0000000..b176662 Binary files /dev/null and b/macros/ImageProcessing/imgproc/CV_GaussianBlur.bin differ diff --git a/macros/ImageProcessing/imgproc/CV_MedianBlur.bin b/macros/ImageProcessing/imgproc/CV_MedianBlur.bin new file mode 100644 index 0000000..fdcd23e Binary files /dev/null and b/macros/ImageProcessing/imgproc/CV_MedianBlur.bin differ diff --git a/macros/ImageProcessing/imgproc/CV_Threshold.bin b/macros/ImageProcessing/imgproc/CV_Threshold.bin new file mode 100644 index 0000000..c2ce1c6 Binary files /dev/null and b/macros/ImageProcessing/imgproc/CV_Threshold.bin differ diff --git a/macros/ImageProcessing/imgproc/lib b/macros/ImageProcessing/imgproc/lib index 4863059..ac7252b 100644 Binary files a/macros/ImageProcessing/imgproc/lib and b/macros/ImageProcessing/imgproc/lib differ diff --git a/macros/Scilab-Arduino/GenerateSetupFunction.bin b/macros/Scilab-Arduino/GenerateSetupFunction.bin new file mode 100644 index 0000000..0051630 Binary files /dev/null and b/macros/Scilab-Arduino/GenerateSetupFunction.bin differ diff --git a/macros/Scilab-Arduino/GetArduinoFunctions.bin b/macros/Scilab-Arduino/GetArduinoFunctions.bin new file mode 100644 index 0000000..fe9e204 Binary files /dev/null and b/macros/Scilab-Arduino/GetArduinoFunctions.bin differ diff --git a/macros/Scilab-Arduino/GetArduinoSetupFunctions.bin b/macros/Scilab-Arduino/GetArduinoSetupFunctions.bin new file mode 100644 index 0000000..67f9fad Binary files /dev/null and b/macros/Scilab-Arduino/GetArduinoSetupFunctions.bin differ diff --git a/macros/Scilab-Arduino/InsertSetupInList.bin b/macros/Scilab-Arduino/InsertSetupInList.bin new file mode 100644 index 0000000..29e3731 Binary files /dev/null and b/macros/Scilab-Arduino/InsertSetupInList.bin differ diff --git a/macros/Scilab-Arduino/IsArduinoFunction.bin b/macros/Scilab-Arduino/IsArduinoFunction.bin new file mode 100644 index 0000000..5dbfaca Binary files /dev/null and b/macros/Scilab-Arduino/IsArduinoFunction.bin differ diff --git a/macros/Scilab-Arduino/IsArduinoSetupFunction.bin b/macros/Scilab-Arduino/IsArduinoSetupFunction.bin new file mode 100644 index 0000000..8948d1a Binary files /dev/null and b/macros/Scilab-Arduino/IsArduinoSetupFunction.bin differ diff --git a/macros/Scilab-Arduino/lib b/macros/Scilab-Arduino/lib index 0304cad..21c7d5b 100644 Binary files a/macros/Scilab-Arduino/lib and b/macros/Scilab-Arduino/lib differ diff --git a/macros/SymbolTable/ST_AnalyzeScope.bin b/macros/SymbolTable/ST_AnalyzeScope.bin new file mode 100644 index 0000000..7e727a0 Binary files /dev/null and b/macros/SymbolTable/ST_AnalyzeScope.bin differ diff --git a/macros/SymbolTable/ST_Del.bin b/macros/SymbolTable/ST_Del.bin new file mode 100644 index 0000000..c26e2e5 Binary files /dev/null and b/macros/SymbolTable/ST_Del.bin differ diff --git a/macros/SymbolTable/ST_FindPos.bin b/macros/SymbolTable/ST_FindPos.bin new file mode 100644 index 0000000..c7003f3 Binary files /dev/null and b/macros/SymbolTable/ST_FindPos.bin differ diff --git a/macros/SymbolTable/ST_Get.bin b/macros/SymbolTable/ST_Get.bin new file mode 100644 index 0000000..512e72b Binary files /dev/null and b/macros/SymbolTable/ST_Get.bin differ diff --git a/macros/SymbolTable/ST_GetInArgInfo.bin b/macros/SymbolTable/ST_GetInArgInfo.bin new file mode 100644 index 0000000..6eb16e3 Binary files /dev/null and b/macros/SymbolTable/ST_GetInArgInfo.bin differ diff --git a/macros/SymbolTable/ST_GetSymbolInfo.bin b/macros/SymbolTable/ST_GetSymbolInfo.bin new file mode 100644 index 0000000..b8a7cf7 Binary files /dev/null and b/macros/SymbolTable/ST_GetSymbolInfo.bin differ diff --git a/macros/SymbolTable/ST_InsForCntVars.bin b/macros/SymbolTable/ST_InsForCntVars.bin new file mode 100644 index 0000000..12882fc Binary files /dev/null and b/macros/SymbolTable/ST_InsForCntVars.bin differ diff --git a/macros/SymbolTable/ST_InsOutArg.bin b/macros/SymbolTable/ST_InsOutArg.bin new file mode 100644 index 0000000..ec9970c Binary files /dev/null and b/macros/SymbolTable/ST_InsOutArg.bin differ diff --git a/macros/SymbolTable/ST_Load.bin b/macros/SymbolTable/ST_Load.bin new file mode 100644 index 0000000..f158c2b Binary files /dev/null and b/macros/SymbolTable/ST_Load.bin differ diff --git a/macros/SymbolTable/ST_MatchSymbol.bin b/macros/SymbolTable/ST_MatchSymbol.bin new file mode 100644 index 0000000..278560d Binary files /dev/null and b/macros/SymbolTable/ST_MatchSymbol.bin differ diff --git a/macros/SymbolTable/ST_Save.bin b/macros/SymbolTable/ST_Save.bin new file mode 100644 index 0000000..4aa50a2 Binary files /dev/null and b/macros/SymbolTable/ST_Save.bin differ diff --git a/macros/SymbolTable/ST_Set.bin b/macros/SymbolTable/ST_Set.bin new file mode 100644 index 0000000..cbd2627 Binary files /dev/null and b/macros/SymbolTable/ST_Set.bin differ diff --git a/macros/SymbolTable/lib b/macros/SymbolTable/lib index dbc603e..4e2f019 100644 Binary files a/macros/SymbolTable/lib and b/macros/SymbolTable/lib differ diff --git a/macros/ToolInitialization/INIT_CreateDirs.bin b/macros/ToolInitialization/INIT_CreateDirs.bin new file mode 100644 index 0000000..16ebab8 Binary files /dev/null and b/macros/ToolInitialization/INIT_CreateDirs.bin differ diff --git a/macros/ToolInitialization/INIT_FillSCI2LibCDirs.bin b/macros/ToolInitialization/INIT_FillSCI2LibCDirs.bin new file mode 100644 index 0000000..37cd565 Binary files /dev/null and b/macros/ToolInitialization/INIT_FillSCI2LibCDirs.bin differ diff --git a/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci b/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci index f0a8360..bf7ef24 100644 --- a/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci +++ b/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci @@ -843,6 +843,207 @@ PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file', INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun); INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun); +// ------------------- +// --- Class Isreal. --- +// ------------------- +ClassName = 'Isreal'; + +// --- Class Annotation. --- +PrintStringInfo(' Adding Class: '+ClassName+'.',GeneralReport,'file','y'); +ClassFileName = fullfile(SCI2CLibCAnnClsDir,ClassName+ExtensionCAnnCls); +PrintStringInfo('NIN= 1',ClassFileName,'file','y'); +PrintStringInfo('NOUT= 1 ',ClassFileName,'file','y'); +//Was FA_TP_USER +//Cause some trouble if user specify some precision and if input(and also output) is complex. +PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y'); //FOR INRIA changed from IN(1).TP to FA_TP_USER +PrintStringInfo('OUT(1).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y'); +PrintStringInfo('OUT(1).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y'); +//---Function list class. ---- +ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls); +PrintStringInfo('s0'+ArgSeparator+'s0',ClassFileName,'file','y'); +PrintStringInfo('d0'+ArgSeparator+'d0',ClassFileName,'file','y'); +//PrintStringInfo('z0'+ArgSeparator+'d0',ClassFileName,'file','y'); +//PrintStringInfo('z0'+ArgSeparator+'z0',ClassFileName,'file','y'); + +// --- Annotation Function And Function List Function. --- +FunctionName = 'isreal'; +PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y'); +INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun); +INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun); + + +ClassName = 'gcd'; + +// --- Class Annotation. --- +PrintStringInfo(' Adding Class: '+ClassName+'.',GeneralReport,'file','y'); +ClassFileName = fullfile(SCI2CLibCAnnClsDir,ClassName+ExtensionCAnnCls); +PrintStringInfo('NIN= 1',ClassFileName,'file','y'); +PrintStringInfo('NOUT= 1 ',ClassFileName,'file','y'); +//Was FA_TP_USER +//Cause some trouble if user specify some precision and if input(and also output) is complex. +PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y'); //FOR INRIA changed from IN(1).TP to FA_TP_USER +PrintStringInfo('OUT(1).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y'); +PrintStringInfo('OUT(1).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y'); +//---Function list class. ---- +ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls); +PrintStringInfo('u82'+ArgSeparator+'u80',ClassFileName,'file','y'); +PrintStringInfo('u80'+ArgSeparator+'u80',ClassFileName,'file','y'); +//PrintStringInfo('d2'+ArgSeparator+'d0',ClassFileName,'file','y'); +PrintStringInfo('d2'+ArgSeparator+'d2',ClassFileName,'file','y'); + +// --- Annotation Function And Function List Function. --- +FunctionName = 'gcd'; +PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y'); +INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun); +INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun); + +ClassName = 'nextpow2'; + +// --- Class Annotation. --- +PrintStringInfo(' Adding Class: '+ClassName+'.',GeneralReport,'file','y'); +ClassFileName = fullfile(SCI2CLibCAnnClsDir,ClassName+ExtensionCAnnCls); +PrintStringInfo('NIN= 1',ClassFileName,'file','y'); +PrintStringInfo('NOUT= 1 ',ClassFileName,'file','y'); +//Was FA_TP_USER +//Cause some trouble if user specify some precision and if input(and also output) is complex. +PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y'); //FOR INRIA changed from IN(1).TP to FA_TP_USER +PrintStringInfo('OUT(1).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y'); +PrintStringInfo('OUT(1).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y'); + +ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls); +//PrintStringInfo('u82'+ArgSeparator+'u80',ClassFileName,'file','y'); +//PrintStringInfo('u80'+ArgSeparator+'u80',ClassFileName,'file','y'); +PrintStringInfo('d0'+ArgSeparator+'d0',ClassFileName,'file','y'); +PrintStringInfo('d2'+ArgSeparator+'d2',ClassFileName,'file','y'); + +// --- Annotation Function And Function List Function. --- +FunctionName = 'nextpow2'; +PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y'); +INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun); +INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun); + + + +ClassName = 'interp1'; + +// --- Class Annotation. --- +PrintStringInfo(' Adding Class: '+ClassName+'.',GeneralReport,'file','y'); +ClassFileName = fullfile(SCI2CLibCAnnClsDir,ClassName+ExtensionCAnnCls); +PrintStringInfo('NIN= 1',ClassFileName,'file','y'); +PrintStringInfo('NOUT= 1 ',ClassFileName,'file','y'); +//Was FA_TP_USER +//Cause some trouble if user specify some precision and if input(and also output) is complex. +PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y'); //FOR INRIA changed from IN(1).TP to FA_TP_USER +PrintStringInfo('OUT(1).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y'); +PrintStringInfo('OUT(1).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y'); + +PrintStringInfo('NIN= 2',ClassFileName,'file','y'); +PrintStringInfo('NOUT= 1 ',ClassFileName,'file','y'); +//Was FA_TP_USER +//Cause some trouble if user specify some precision and if input(and also output) is complex. +PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y'); //FOR INRIA changed from IN(1).TP to FA_TP_USER +PrintStringInfo('OUT(1).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y'); +PrintStringInfo('OUT(1).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y'); + +PrintStringInfo('NIN= 3',ClassFileName,'file','y'); +PrintStringInfo('NOUT= 1 ',ClassFileName,'file','y'); +//Was FA_TP_USER +//Cause some trouble if user specify some precision and if input(and also output) is complex. +PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y'); //FOR INRIA changed from IN(1).TP to FA_TP_USER +PrintStringInfo('OUT(1).SZ(1)= IN(3).SZ(1)',ClassFileName,'file','y'); +PrintStringInfo('OUT(1).SZ(2)= IN(3).SZ(2)',ClassFileName,'file','y'); + +PrintStringInfo('NIN= 4',ClassFileName,'file','y'); +PrintStringInfo('NOUT= 1 ',ClassFileName,'file','y'); +//Was FA_TP_USER +//Cause some trouble if user specify some precision and if input(and also output) is complex. +PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y'); //FOR INRIA changed from IN(1).TP to FA_TP_USER +PrintStringInfo('OUT(1).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y'); +PrintStringInfo('OUT(1).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y'); + +//---Function list class. ---- +ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls); +//PrintStringInfo('u82'+ArgSeparator+'u80',ClassFileName,'file','y'); +//PrintStringInfo('u80'+ArgSeparator+'u80',ClassFileName,'file','y'); +//PrintStringInfo('d2'+ArgSeparator+'d0',ClassFileName,'file','y'); +PrintStringInfo('d2d2d2'+ArgSeparator+'d2',ClassFileName,'file','y'); +PrintStringInfo('d2d2d2g2'+ArgSeparator+'d2',ClassFileName,'file','y'); + +// --- Annotation Function And Function List Function. --- +FunctionName = 'interp1'; +PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y'); +INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun); +INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun); + + +// ------------------- +// --- Class DCT. --- +// ------------------- +ClassName = 'dct'; + +// --- Class Annotation. --- +PrintStringInfo(' Adding Class: '+ClassName+'.',GeneralReport,'file','y'); +ClassFileName = fullfile(SCI2CLibCAnnClsDir,ClassName+ExtensionCAnnCls); +PrintStringInfo('NIN= 1',ClassFileName,'file','y'); +PrintStringInfo('NOUT= 1 ',ClassFileName,'file','y'); +//Was FA_TP_USER +//Cause some trouble if user specify some precision and if input(and also output) is complex. +PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y'); //FOR INRIA changed from IN(1).TP to FA_TP_USER +PrintStringInfo('OUT(1).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y'); +PrintStringInfo('OUT(1).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y'); + +PrintStringInfo('NIN= 2',ClassFileName,'file','y'); +PrintStringInfo('NOUT= 1 ',ClassFileName,'file','y'); +//Was FA_TP_USER +//Cause some trouble if user specify some precision and if input(and also output) is complex. +PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y'); //FOR INRIA changed from IN(1).TP to FA_TP_USER +PrintStringInfo('OUT(1).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y'); +PrintStringInfo('OUT(1).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y'); + +// --- Function List Class. --- +ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls); + +PrintStringInfo('d2'+ArgSeparator+'d2',ClassFileName,'file','y'); +PrintStringInfo('d2d0'+ArgSeparator+'d2',ClassFileName,'file','y'); +PrintStringInfo('z2'+ArgSeparator+'z2',ClassFileName,'file','y'); +PrintStringInfo('z2d0'+ArgSeparator+'z2',ClassFileName,'file','y'); +PrintStringInfo('c2'+ArgSeparator+'c2',ClassFileName,'file','y'); +PrintStringInfo('c2s0'+ArgSeparator+'c2',ClassFileName,'file','y'); +// --- Annotation Function And Function List Function. --- +FunctionName = 'dct'; +PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y'); +INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun); +INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun); + +// ------------------- +// --- Class IDCT. --- +// ------------------- +ClassName = 'idct'; + +// --- Class Annotation. --- +PrintStringInfo(' Adding Class: '+ClassName+'.',GeneralReport,'file','y'); +ClassFileName = fullfile(SCI2CLibCAnnClsDir,ClassName+ExtensionCAnnCls); +PrintStringInfo('NIN= 1',ClassFileName,'file','y'); +PrintStringInfo('NOUT= 1 ',ClassFileName,'file','y'); +//Was FA_TP_USER +//Cause some trouble if user specify some precision and if input(and also output) is complex. +PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y'); //FOR INRIA changed from IN(1).TP to FA_TP_USER +PrintStringInfo('OUT(1).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y'); +PrintStringInfo('OUT(1).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y'); +// --- Function List Class. --- +ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls); + +PrintStringInfo('d2'+ArgSeparator+'d2',ClassFileName,'file','y'); +PrintStringInfo('z2'+ArgSeparator+'z2',ClassFileName,'file','y'); +PrintStringInfo('c2'+ArgSeparator+'c2',ClassFileName,'file','y'); +// --- Annotation Function And Function List Function. --- +FunctionName = 'idct'; +PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y'); +INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun); +INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun); + + + // ------------------- // --- Class Sqrt. --- // ------------------- @@ -7455,6 +7656,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y'); // --- Function List Class. --- ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls); +PrintStringInfo('d2d2d2'+ArgSeparator+'d0',ClassFileName,'file','y'); PrintStringInfo('d2d2d0g2'+ArgSeparator+'d0',ClassFileName,'file','y'); //PrintStringInfo('d2'+ArgSeparator+'d2',ClassFileName,'file','y'); //PrintStringInfo('s0'+ArgSeparator+'s0',ClassFileName,'file','y'); @@ -7472,6 +7674,36 @@ INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,E INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun); +// --- Class Modk. --- +// ------------------ +ClassName = 'Modk'; + +// --- Class Annotation. --- +PrintStringInfo(' Adding Class: '+ClassName+'.',GeneralReport,'file','y'); +ClassFileName = fullfile(SCI2CLibCAnnClsDir,ClassName+ExtensionCAnnCls); +PrintStringInfo('NIN= 1',ClassFileName,'file','y'); +PrintStringInfo('NOUT= 1 ',ClassFileName,'file','y'); +PrintStringInfo('OUT(1).TP= ''d''',ClassFileName,'file','y'); +PrintStringInfo('OUT(1).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y'); +PrintStringInfo('OUT(1).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y'); + +// --- Function List Class. --- +ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls); +PrintStringInfo('d2'+ArgSeparator+'d2',ClassFileName,'file','y'); +//PrintStringInfo('s0'+ArgSeparator+'s0',ClassFileName,'file','y'); +//PrintStringInfo('s2'+ArgSeparator+'s2',ClassFileName,'file','y'); + +//PrintStringInfo('z2'+ArgSeparator+'z2',ClassFileName,'file','y'); +//PrintStringInfo('z0'+ArgSeparator+'z0',ClassFileName,'file','y'); +//PrintStringInfo('c2'+ArgSeparator+'c2',ClassFileName,'file','y'); +//PrintStringInfo('c0'+ArgSeparator+'c0',ClassFileName,'file','y'); + +// --- Annotation Function And Function List Function. --- +FunctionName = 'modk'; +PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y'); +INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun); +INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun); + //------------------------------------ //---- Class PRIMES -------------------- diff --git a/macros/ToolInitialization/INIT_GenAnnFLFunctions.bin b/macros/ToolInitialization/INIT_GenAnnFLFunctions.bin new file mode 100644 index 0000000..f7d2aa5 Binary files /dev/null and b/macros/ToolInitialization/INIT_GenAnnFLFunctions.bin differ diff --git a/macros/ToolInitialization/INIT_GenFileInfo.bin b/macros/ToolInitialization/INIT_GenFileInfo.bin new file mode 100644 index 0000000..a8d4722 Binary files /dev/null and b/macros/ToolInitialization/INIT_GenFileInfo.bin differ diff --git a/macros/ToolInitialization/INIT_GenLibraries.bin b/macros/ToolInitialization/INIT_GenLibraries.bin new file mode 100644 index 0000000..bc3bc87 Binary files /dev/null and b/macros/ToolInitialization/INIT_GenLibraries.bin differ diff --git a/macros/ToolInitialization/INIT_GenSharedInfo.bin b/macros/ToolInitialization/INIT_GenSharedInfo.bin new file mode 100644 index 0000000..7263830 Binary files /dev/null and b/macros/ToolInitialization/INIT_GenSharedInfo.bin differ diff --git a/macros/ToolInitialization/INIT_LoadLibraries.bin b/macros/ToolInitialization/INIT_LoadLibraries.bin new file mode 100644 index 0000000..c85aac6 Binary files /dev/null and b/macros/ToolInitialization/INIT_LoadLibraries.bin differ diff --git a/macros/ToolInitialization/INIT_RemoveDirs.bin b/macros/ToolInitialization/INIT_RemoveDirs.bin new file mode 100644 index 0000000..c1ee9ec Binary files /dev/null and b/macros/ToolInitialization/INIT_RemoveDirs.bin differ diff --git a/macros/ToolInitialization/INIT_SCI2C.bin b/macros/ToolInitialization/INIT_SCI2C.bin new file mode 100644 index 0000000..1940230 Binary files /dev/null and b/macros/ToolInitialization/INIT_SCI2C.bin differ diff --git a/macros/ToolInitialization/INIT_SharedInfoEqual.bin b/macros/ToolInitialization/INIT_SharedInfoEqual.bin new file mode 100644 index 0000000..31238a3 Binary files /dev/null and b/macros/ToolInitialization/INIT_SharedInfoEqual.bin differ diff --git a/macros/ToolInitialization/ManageNextConversion.bin b/macros/ToolInitialization/ManageNextConversion.bin new file mode 100644 index 0000000..bf43562 Binary files /dev/null and b/macros/ToolInitialization/ManageNextConversion.bin differ diff --git a/macros/ToolInitialization/UpdateSCI2CInfo.bin b/macros/ToolInitialization/UpdateSCI2CInfo.bin new file mode 100644 index 0000000..c13904d Binary files /dev/null and b/macros/ToolInitialization/UpdateSCI2CInfo.bin differ diff --git a/macros/ToolInitialization/doublecomplex.bin b/macros/ToolInitialization/doublecomplex.bin new file mode 100644 index 0000000..5e616f7 Binary files /dev/null and b/macros/ToolInitialization/doublecomplex.bin differ diff --git a/macros/ToolInitialization/floatcomplex.bin b/macros/ToolInitialization/floatcomplex.bin new file mode 100644 index 0000000..bd77a45 Binary files /dev/null and b/macros/ToolInitialization/floatcomplex.bin differ diff --git a/macros/ToolInitialization/lib b/macros/ToolInitialization/lib index 4d03bdc..b7e8685 100644 Binary files a/macros/ToolInitialization/lib and b/macros/ToolInitialization/lib differ diff --git a/macros/cb_sci2c_gui.bin b/macros/cb_sci2c_gui.bin new file mode 100644 index 0000000..bc691e4 Binary files /dev/null and b/macros/cb_sci2c_gui.bin differ diff --git a/macros/findDeps/Scilab2CDeps.bin b/macros/findDeps/Scilab2CDeps.bin new file mode 100644 index 0000000..ae162ec Binary files /dev/null and b/macros/findDeps/Scilab2CDeps.bin differ diff --git a/macros/findDeps/findDeps.bin b/macros/findDeps/findDeps.bin new file mode 100644 index 0000000..fb11e00 Binary files /dev/null and b/macros/findDeps/findDeps.bin differ diff --git a/macros/findDeps/getAllHeaders.bin b/macros/findDeps/getAllHeaders.bin new file mode 100644 index 0000000..35c87db Binary files /dev/null and b/macros/findDeps/getAllHeaders.bin differ diff --git a/macros/findDeps/getAllHeaders.sci b/macros/findDeps/getAllHeaders.sci index b7f26b3..9e633f6 100644 --- a/macros/findDeps/getAllHeaders.sci +++ b/macros/findDeps/getAllHeaders.sci @@ -72,6 +72,10 @@ function allHeaders = getAllHeaders(SharedInfo) "src/c/matrixOperations/includes/kron.h" "src/c/matrixOperations/includes/flipdim.h" "src/c/matrixOperations/includes/norm.h" + "src/c/interpolation/includes/interp1.h" + "src/c/elementaryFunctions/includes/nextpow2.h" + "src/c/elementaryFunctions/includes/gcd.h" + "src/c/elementaryFunctions/includes/isreal.h" "src/c/elementaryFunctions/includes/cos.h" "src/c/elementaryFunctions/includes/fix.h" "src/c/elementaryFunctions/includes/exp.h" @@ -140,6 +144,9 @@ function allHeaders = getAllHeaders(SharedInfo) "src/c/string/includes/dynlib_string.h" "src/c/string/includes/disp.h" "src/c/string/includes/str.h" + "src/c/signalProcessing/includes/modk.h" + "src/c/signalProcessing/includes/idct.h" + "src/c/signalProcessing/includes/dct.h" "src/c/signalProcessing/fft/fft_internal.h" "src/c/signalProcessing/ifft/ifft_internal.h" "src/c/signalProcessing/levin/levinUtils.h" diff --git a/macros/findDeps/getAllInterfaces.bin b/macros/findDeps/getAllInterfaces.bin new file mode 100644 index 0000000..4fa4778 Binary files /dev/null and b/macros/findDeps/getAllInterfaces.bin differ diff --git a/macros/findDeps/getAllInterfaces.sci b/macros/findDeps/getAllInterfaces.sci index c5c3116..42ed51d 100644 --- a/macros/findDeps/getAllInterfaces.sci +++ b/macros/findDeps/getAllInterfaces.sci @@ -61,6 +61,10 @@ function allInterfaces = getAllInterfaces(SharedInfo) "src/c/matrixOperations/interfaces/int_flipdim.h" "src/c/matrixOperations/interfaces/int_permute.h" "src/c/matrixOperations/interfaces/int_norm.h" + "src/c/interpolation/interfaces/int_interp1.h" + "src/c/elementaryFunctions/interfaces/int_nextpow2.h" + "src/c/elementaryFunctions/interfaces/int_gcd.h" + "src/c/elementaryFunctions/interfaces/int_isreal.h" "src/c/elementaryFunctions/interfaces/int_asinh.h" "src/c/elementaryFunctions/interfaces/int_atanh.h" "src/c/elementaryFunctions/interfaces/int_sinh.h" @@ -140,6 +144,9 @@ function allInterfaces = getAllInterfaces(SharedInfo) "src/c/operations/interfaces/int_OpIns.h" "src/c/string/interfaces/int_disp.h" "src/c/string/interfaces/int_string.h" + "src/c/signalProcessing/interfaces/int_modk.h" + "src/c/signalProcessing/interfaces/int_idct.h" + "src/c/signalProcessing/interfaces/int_dct.h" "src/c/signalProcessing/interfaces/int_ifft.h" "src/c/signalProcessing/interfaces/int_lpc2cep.h" "src/c/signalProcessing/interfaces/int_cepstrum.h" diff --git a/macros/findDeps/getAllLibraries.bin b/macros/findDeps/getAllLibraries.bin new file mode 100644 index 0000000..098b51e Binary files /dev/null and b/macros/findDeps/getAllLibraries.bin differ diff --git a/macros/findDeps/getAllSources.bin b/macros/findDeps/getAllSources.bin new file mode 100644 index 0000000..bf61802 Binary files /dev/null and b/macros/findDeps/getAllSources.bin differ diff --git a/macros/findDeps/getAllSources.sci b/macros/findDeps/getAllSources.sci index fd8b664..afa5119 100644 --- a/macros/findDeps/getAllSources.sci +++ b/macros/findDeps/getAllSources.sci @@ -334,6 +334,9 @@ function allSources = getAllSources(SharedInfo) "src/c/matrixOperations/kron/skrona.c" "src/c/matrixOperations/norm/dnormv.c" "src/c/matrixOperations/norm/dnorma.c" + "src/c/elementaryFunctions/nextpow2/dnextpow2a.c" + "src/c/elementaryFunctions/isreal/sisreals.c" + "src/c/elementaryFunctions/isreal/disreals.c" "src/c/elementaryFunctions/cos/dcosa.c" "src/c/elementaryFunctions/cos/dcoss.c" "src/c/elementaryFunctions/cos/scosa.c" @@ -964,6 +967,13 @@ function allSources = getAllSources(SharedInfo) "src/c/string/string/u16strings.c" "src/c/string/string/i16stringa.c" "src/c/string/string/i16strings.c" + "src/c/signalProcessing/modk/dmodka.c" + "src/c/signalProcessing/transforms/idct/cidcta.c" + "src/c/signalProcessing/transforms/idct/zidcta.c" + "src/c/signalProcessing/transforms/idct/didcta.c" + "src/c/signalProcessing/transforms/dct/cdcta.c" + "src/c/signalProcessing/transforms/dct/zdcta.c" + "src/c/signalProcessing/transforms/dct/ddcta.c" "src/c/signalProcessing/fft/dfft2.c" "src/c/signalProcessing/fft/cfftma.c" "src/c/signalProcessing/fft/r2tx.c" @@ -1175,6 +1185,9 @@ function allSources = getAllSources(SharedInfo) "src/c/elementaryFunctions/Trigonometry/sech/zsechs.c" "src/c/elementaryFunctions/Trigonometry/sech/csecha.c" "src/c/elementaryFunctions/Trigonometry/sech/csechs.c" + "src/c/interpolation/interp1/dinterp13a.c" + "src/c/elementaryFunctions/discrete_mathematics/gcd/u8gcds.c" + "src/c/elementaryFunctions/discrete_mathematics/gcd/dgcda.c" "src/c/elementaryFunctions/discrete_mathematics/factorial/dfactorials.c" "src/c/elementaryFunctions/discrete_mathematics/factorial/dfactoriala.c" "src/c/elementaryFunctions/discrete_mathematics/factorial/sfactorials.c" diff --git a/macros/findDeps/getArduinoFiles.bin b/macros/findDeps/getArduinoFiles.bin new file mode 100644 index 0000000..411018b Binary files /dev/null and b/macros/findDeps/getArduinoFiles.bin differ diff --git a/macros/findDeps/lib b/macros/findDeps/lib index a49dc79..d94232c 100644 Binary files a/macros/findDeps/lib and b/macros/findDeps/lib differ diff --git a/macros/getScilab2cVersion.bin b/macros/getScilab2cVersion.bin new file mode 100644 index 0000000..9620859 Binary files /dev/null and b/macros/getScilab2cVersion.bin differ diff --git a/macros/lib b/macros/lib index d818e18..7ce29e5 100644 Binary files a/macros/lib and b/macros/lib differ diff --git a/macros/runsci2c.bin b/macros/runsci2c.bin new file mode 100644 index 0000000..319e1c2 Binary files /dev/null and b/macros/runsci2c.bin differ diff --git a/macros/runsci2c.sci b/macros/runsci2c.sci index eb32a4b..333d0f1 100644 --- a/macros/runsci2c.sci +++ b/macros/runsci2c.sci @@ -113,7 +113,7 @@ PrintStepInfo('Copying sources', FileInfo.GeneralReport,'both'); for i = 1:size(allSources, "*") // DEBUG only - //disp("Copying "+allSources(i)+" in "+SCI2COutputPath+"/src/c/"); + disp("Copying "+allSources(i)+" in "+SCI2COutputPath+"/src/c/"); //Copy ode related functions only if 'ode' function is used. if(~isempty(strstr(allSources(i),'dode'))) if(size(SharedInfo.Includelist) <> 0) @@ -130,7 +130,7 @@ end PrintStepInfo('Copying headers', FileInfo.GeneralReport,'both'); for i = 1:size(allHeaders, "*") // DEBUG only - //disp("Copying "+allHeaders(i)+" in "+SCI2COutputPath+"/includes/"); + disp("Copying "+allHeaders(i)+" in "+SCI2COutputPath+"/includes/"); copyfile(allHeaders(i), SCI2COutputPath+"/includes/"); end diff --git a/macros/runscicode.bin b/macros/runscicode.bin new file mode 100644 index 0000000..46bda7c Binary files /dev/null and b/macros/runscicode.bin differ diff --git a/macros/sci2c_gui.bin b/macros/sci2c_gui.bin new file mode 100644 index 0000000..57a2f69 Binary files /dev/null and b/macros/sci2c_gui.bin differ diff --git a/macros/scilab2c.bin b/macros/scilab2c.bin new file mode 100644 index 0000000..9fc934f Binary files /dev/null and b/macros/scilab2c.bin differ -- cgit