User loginNavigation |
BNFT (Backus Naur Form Transformation) tool releasedOn my way to publishing my programming language Dawn (which I radically failed to promote for discussion in earlier posts :-) I have created and released a tool BNFT. The tool takes a BNF input, a source file and outputs a target file. The BNF features an operator "->" where literals and nonterminals specified on the right side of the operator replaces the leftside in the output. This makes it suitable for a lot of purposes: DSL creation, Advanced substitions (more advance that RegExps), Code prettifying etc. The tools is vital in Dawns claim of syntax agnosticism, where programmers are allowed to roll their own syntax, while observering a few rules, that will allow other syntax flavors to view the same code with different syntaxes. It is implemented in Java for now, windows examples are available and released under BSD license. Feel free to try it out at my blog: Consistent Oxymoron, Neutral Bias, or something By Poul Krogh at 2009-09-12 19:42 | LtU Forum | previous forum topic | next forum topic | other blogs | 7181 reads
|
Browse archives
Active forum topics |
Recent comments
22 weeks 6 days ago
22 weeks 6 days ago
22 weeks 6 days ago
45 weeks 19 hours ago
49 weeks 2 days ago
50 weeks 6 days ago
50 weeks 6 days ago
1 year 1 week ago
1 year 6 weeks ago
1 year 6 weeks ago