magne / dfalex.net Goto Github PK
View Code? Open in Web Editor NEWScanning / Lexical Analysis in .Net Core; ported from https://github.com/mtimmerm/dfalex
License: Apache License 2.0
Scanning / Lexical Analysis in .Net Core; ported from https://github.com/mtimmerm/dfalex
License: Apache License 2.0
Currently, RegexParser
takes a bool caseIndependent
parameter. Instead, make it take some options object. This will make it easier to add options later.
We need to create a DFA that considers the prioritized transitions from the new NFA produced by the lazy quantifiers.
This can probably be done by matching NFA states in a DFA state as an ordered list, not as a set. The ordered list of NFA states must be produced by simulating the NFA with a low and a normal stack. See the nes1983 code in the alternate-implementations
branch.
Currently, RegexParser
produces an IMatchable
structure. I would like it to be able to produce arbitrary structures.
This will require extracting the different actions that produce IMatchable
s to a support class, make that class implement an interface, and initialize the RegexParser
with implementations of that interface. RegexParser
must also be extended to produce generic structures, as produced by the support classes.
We should be able to minimize the DFA created from the NFA with prioritized transitions.
This probably involves the mappable concept described by Laurikari (see references in the Wiki), and the nes1983 code in the alternate-implementations
branch has some code that might be useful.
Add parsing of the non-greedy quantifiers (??, *?, +?) to regex parsing.
Pattern
s with priority transitions.Pattern
.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.