An experiment in preprocessing.
Hopefully it leads to a SystemVerilog compiler and simulator.
The first challenge is to create a pre-processor.
This project is built with Gradle and Antlr.
./gradlew generateGrammarSource
When running ./gradlew build
antlr gives this error:
error(160): ca/martinda/veelox/SystemVerilogPreprocessorParser.g4:6:17: cannot find tokens file /home/martin/git/veelox/build/generated-src/antlr/main/SystemVerilogPreprocessorLexer.tokens
The tokens file exists but not in the place where antlr is looking. Possibly related to: gradle/gradle#1240