You need to sign in or sign up before continuing.
C++ AST TODO
-
Add a visitor that raises an exception if a method is visited and not implemented. Test that the exception is raised. -
Generate the pickle visitor automatically (as a base class, then subclass it to provide customized shorter print for a few selected types) -
Make Allocator allocate another chunk of memory and keep track of the chunks, and free them all at the end -
Make Str and Vec more similar to std::string and std::vector, e.g., add operator[] to Vec, etc. -
Make sep
part of astatement
, possibly adjust location info & test that the location info is correct -
Parse .eq.
-
Parse some real Fortran into AST -
Implement location tracking + nice syntax error messages -
Split the visitors to ast_visitors.h
andmake_*
functions intoast_make.h
, so thatast.h
only contains the definitions but no code: make all headers only depend onast.h
, and theast_visitor.h
andast_make.h
will only be included in cpp files. To speedup compilation. -
Generate Python wrappers -
Switch ANTLR based parser to this C++ parser, make all (unmodified) tests pass
Edited by Ondřej Čertík