I found the regular expression code. That code is by the way completely optional, it is just to parse the line numbers in the error messages from the GLSL compiler. Then the fully generated glsl code is printed with line numbers and injected error messages. When you leave out the regular expression code, you still get the code printed, and the error message printed, the errors will just not be inserted in the glsl code.
- Re: Code generation from AST with annotations in Nim like in C Krux02
- Re: Code generation from AST with annotations in Nim like i... komerdoor
- Re: Code generation from AST with annotations in Nim li... sleepyqt
- Re: Code generation from AST with annotations in Nim li... komerdoor
- Re: Code generation from AST with annotations in Nim li... Krux02
- Re: Code generation from AST with annotations in Nim li... komerdoor
- Re: Code generation from AST with annotations in Nim li... komerdoor
- Re: Code generation from AST with annotations in Nim li... Krux02
- Re: Code generation from AST with annotations in Nim li... komerdoor
- Re: Code generation from AST with annotations in Nim li... Krux02
- Re: Code generation from AST with annotations in Nim li... Krux02
