kvanttt / dage Goto Github PK
View Code? Open in Web Editor NEWDesktop Antlr Grammar Editor
License: Apache License 2.0
Desktop Antlr Grammar Editor
License: Apache License 2.0
Try to figure out the problem and fix them.
Use special labels to mark action code. Transform the following code
CHAR: [a-z]+ {i++;};
to this:
CHAR: [a-z]+ {/*$DAGE Mark1*/i++;/*DAGE Mark1$*/};
Use System.CodeDom.Compiler or something like this.
Call parse method via reflection, get root rule from the input
Language should be C#.
See https://github.com/AvaloniaUI/AvaloniaEdit
It already works fine in https://github.com/icsharpcode/AvaloniaILSpy
Base on this for different runtimes: https://gist.github.com/sharwell/9424666
Show dialog with if runtime compiler of interpreter has not been detected.
For handling such stuff:
grammar test;
start: DIGIT+ { i++; };
CHAR: [a-z]+;
DIGIT: [0-9]+;
WS: [ \r\n\t]+ -> skip;
It is possible to determine error only on compilation step (i
variable is not declarated), not parser generation.
For instance, https://www.stringtemplate.org/
-package
ANTLR cli option.
It's supported since ANTLR >= 4.6
See this for detail: http://cakebuild.net/
Make Workflow class async.
The following warning produced if pip 2 is started:
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Also, it makes the support of two versions of Python more complicated.
See antlr4ts
Use preprocessor directives if required
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.