Adds support for the Motoko language from Dfinity.
- Install Grammar-Kit from Jetbrains
- Right click
src/main/java/net/lab0/motoko/Motoko.bnfand clickGenerate Parser Code - Right click
src/main/java/net/lab0/motoko/Motoko.flexand clickRun JFlex Generator, select thesrc/main/genfolder and clickOk. - Mark
src/main/genas Generated Sources Root - Compile with
./gradlew buildPlugin - Start IJ with
./gradlew runIde - Open
motoko_samplesas a project folder.
Basic parsing and syntax coloring is now available.
Toy project. Abandoned. Using the Motoko LSP is a better option.
VS code has an extension for this.
Parses almost all the Motoko grammar from early 2021.
Motoko is the language used by the Internet Computer, a crypto decentralized datacenter project.
