1// =============================================================================
2// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3// Copyright (C) 2016 - Scilab Enterprises - Clement David
4//
5//  This file is distributed under the same license as the Scilab package.
6// =============================================================================
7//<-- CLI SHELL MODE -->
8// parse all the macros in core
9funs = libraryinfo("corelib");
10for i=1:size(funs, "*")
11    macr2tree(evstr(funs(i)));
12end
13// parse all the tests in ast
14parsing_tests = ls("SCI/modules/ast/tests/unit_tests/*.tst");
15for i=1:size(parsing_tests, "*")
16    text = mgetl(parsing_tests(i));
17    deff("[] = macr2tree_fun()",text);
18    macr2tree(macr2tree_fun);
19    clear macr2tree_fun;
20end
21