Provides IDE support for Daedalus language, dedicated for gameplay scripting in games on zEngin engine (Gothic I, II, II:NOTR). This project was developed primarily for SoulFire group.
Early work in progress. Parser was finished quite a while ago and works with all original scripts. On the other hand, reference resolver is very basic - just matches names, ignoring scoping rules and order of module sources in its .src file.
Install IntelliJ IDEA CE, open File > Settings > Plugins > Browse repositories
, type Daedalus
and hit Install
.
To open project, use File > New > Project from Existing Sources...
.
To develop plugin, you will need to manually generate parser sources once.
It will be more times if parser is going to change, but it should be rather rare.
All parser sources are generated from file resources/org/avallach/daedalus/parser/Parser/Daedalus.bnf
.
Intermediate file _DaedalusLexer.flex
is used for generated lexer definition.
Daedalus.bnf > Tools > Generate Parser Code
Daedalus.bnf > Tools > Generate JFlex Lexer > gen/org/avallach/daedalus/parser/_DaedalusLexer.flex
_DaedalusLexer.flex
> add%ignorecase
below lines prefixed with%
_DaedalusLexer.flex > Tools > Run JFlex Generator
In long run, it would be great to automatize it with Ant.
Build > Prepare Plugin Module daedalus-intellij For Deployment
- mailto://github**@**avallach.ovh
- http://themodders.org/index.php?topic=27411