scalalex's People
scalalex's Issues
Fix build dependencies in output file
Implement code emission
Implement code emission through actions on regex matches
Create Lexing language
Create lexing language grammar to input - possibly use grammar of Lex
Implement Regular Expression pipeline
Create parser to output regular expression rules with associated actions/tokens
Lexing with no actions doesn't create a rule correctly
lexing a rule with no code (i.e. a rule that deletes part of the input string) appends the regex to the next rule instead
e.g.
delete me
abc println("abc")
becomes
delete meabc println("abc")
Add Support for \ escaping
Add support for escaping operators using \
Bracketing doesn't translate
Empty stack on regex input [^]
fix empty stack for inverse character set containing all characters
combination of | and * doesn't work
add regex support for [], e.g. [a-z]
Create lexer structure
Create overall structure of generated code and organisation of expressions, tokens and rules
classpath error in serialization for output
DFA needs to be added to the classpath somewhere for serialization
Revisit lookahead, start match and end matching
These features need more concrete implementations
Reject() function
Add a function call that will cause the lexer to immediately reject this input.
Double backslash escapes other operators
e.g. \* matches the input * instead of ,\,\\ etc.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.