]> git.tdb.fi Git - libs/gl.git/commit
Refactor module and stage management
authorMikko Rasa <tdb@tdb.fi>
Fri, 11 Nov 2016 16:39:57 +0000 (18:39 +0200)
committerMikko Rasa <tdb@tdb.fi>
Fri, 11 Nov 2016 16:39:57 +0000 (18:39 +0200)
commita29cc14162e911b36d18d1d1896216697c7dc0c1
treecdaa8d0ac3bf9c1b2dea164fc0091a0df927947b
parentfd103d76d7546f7e22aefc18c090a844fc67409f
Refactor module and stage management

Originally I envisioned that ProgramParser would handle imports, but it's
non-trivial to make re-entrant.  The parser will now only hold one module
at a time and ProgramCompiler will handle combining them.
source/programcompiler.cpp
source/programcompiler.h
source/programparser.cpp
source/programparser.h
source/programsyntax.cpp
source/programsyntax.h