summaryrefslogtreecommitdiff
path: root/src/Scilab2C/ASTGenerator/GenerateASTfoo.sci
diff options
context:
space:
mode:
Diffstat (limited to 'src/Scilab2C/ASTGenerator/GenerateASTfoo.sci')
-rw-r--r--src/Scilab2C/ASTGenerator/GenerateASTfoo.sci6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Scilab2C/ASTGenerator/GenerateASTfoo.sci b/src/Scilab2C/ASTGenerator/GenerateASTfoo.sci
new file mode 100644
index 00000000..70001632
--- /dev/null
+++ b/src/Scilab2C/ASTGenerator/GenerateASTfoo.sci
@@ -0,0 +1,6 @@
+// Generate the Abstract Syntactic Tree for the foo Scilab function
+
+getf("foo.sci");
+exec %program_p.sci;
+t=macr2tree(foo);
+t