Commit Graph

3 Commits

Author SHA1 Message Date
Michael Fabian 'Xaymar' Dirks 726bd78a59 code_compiler: Add comments and internal commands to Lexer
This should make parsing even easier as the internal commands are tokens instead of text. Additionally it is now possible to properly include comments as they are no longer considered separate parts and instead are a single string lasting until the end of the line.
2017-11-18 19:15:18 +01:00
Michael Fabian 'Xaymar' Dirks 9aefa56214 code_compiler: Use isspace, iscntrl and isprint for tests 2017-11-13 02:31:23 +01:00
Michael Fabian 'Xaymar' Dirks d5945e8c39 code_compiler: Implement Lexer for Blitz
The Lexer should now be able to parse all existing Blitz code into easily identified Tokens. With this information, a Parser can now verify that the syntax was kept correctly, warn about possible dangerous or wrong use and convert the Tokens into actual LLVM code for compiling.
2017-11-13 02:14:57 +01:00