The -D command-line option dumps the abstract syntax tree (AST) of a given Sidef program.
-D
Example:
$ sidef -D script.sf # will dump the AST of script.sf
This feature is used mainly in debugging the parser and it requires the Data::Dumparrow-up-right Perl module.
Last updated 5 years ago