The other zerg
fed9cc4a29
- Fixed bugged type parsing - Added optional function return type - Comments don't require proper indentation right now, but should they? |
||
---|---|---|
WaifuGrammar | ||
.gitignore | ||
README.md | ||
WaifuGrammar.sln |
Dotnet
- install dotnet 6
- install antlr
- cd WaifuGrammar
- antlr4 -Dlanguage=CSharp
-o WaifuGrammar/grammar_out/waifu
-package waifu -listener -visitor
-lib WaifuGrammar/grammar
WaifuGrammar/grammar/Waifu2.g4 - Develop in grammar/Waifu2.g4 and Program.cs
Notes
- Final implementation in rust? Althought rantlr4 doesn't have rust support. So we will have to write parser and lexer from sctach