Intellij Plugin for Datum Lang
todo:
- Highlighter
- fileType
- lang.parserDefinition
- lineMarkerProvider
-
default$main
method -
struct
identify
-
- completion.contributor
- psi.referenceContributor
- lang.refactoringSupport
- lang.findUsagesProvider
- goto declaration
- lang.foldingBuilder
- lang.psiStructureViewFactory
- lang.formatter
- codeStyleSettingsProvider
- langCodeStyleSettingsProvider
- lang.commenter
./gradlew build
- right click
.bnf
file and click- Generate Parser Code
- Generate JFlex Code
- right click
.flex
file and click- Run JFlex Generator
see more in Datum Demo
pkg examples
import fmt
default$main() {
fmt.println("hello,world")
}
struct Summary {
Name : string
FanIn : int
FanOut : int
}
struct Hello {
summary : Summary
}
The languages plugins for Charj language. It can highlight code, generate stucture, and others.