lac-dcc / lushu Goto Github PK
View Code? Open in Web Editor NEWSystem to recognize infinite languages and react to string events
License: GNU General Public License v3.0
System to recognize infinite languages and react to string events
License: GNU General Public License v3.0
Current representation of the grammar produced by the grammarJar
bytecode is incorrect.
R0 :: [023]{4,4}[-]{1,1}[04]{2,2}[-]{1,1}[29]{2,2} | R1
R1 :: [0]{2,2}[:]{1,1}[0]{2,2}[:]{1,1}[0]{2,2}[,]{1,1}[123456789]{3,3} | R2
R2 :: [RScdeimov]{4,8} | R3
R3 :: [ehoqrstu]{5,7} | R4
R4 :: [acfmoryz]{4,5} | R5
R5 :: [0123456789]{1,3}[.]{1,1}[0123456789]{1,3}[.]{1,1}[0123456789]{1,3}[.]{1,1}[0123456789]{1,3} | [glo]{3,3} | R6
R6 :: [ehr]{4,4} | R7
R7 :: [abl]{3,3} | R8
R8 :: [abl]{3,3}
Should instead be
R0 :: [023]{4,4}[-]{1,1}[04]{2,2}[-]{1,1}[29]{2,2} | R0 R1
R1 :: [0]{2,2}[:]{1,1}[0]{2,2}[:]{1,1}[0]{2,2}[,]{1,1}[123456789]{3,3} | R1 R2
R2 :: [RScdeimov]{4,8} | R2 R3
R3 :: [ehoqrstu]{5,7} | R3 R4
R4 :: [acfmoryz]{4,5} | R4 R5
R5 :: [0123456789]{1,3}[.]{1,1}[0123456789]{1,3}[.]{1,1}[0123456789]{1,3}[.]{1,1}[0123456789]{1,3} | [glo]{3,3} | R5 R6
R6 :: [ehr]{4,4} | R6 R7
R7 :: [abl]{3,3} | R7 R8
R8 :: [abl]{3,3}
The context-sensitive implementation described in some of our postings is not entirely ready. The reaction to string events is currently hardcoded to be the "count" action.
The README documentation refers to the implementation that can generates a regular grammar for the text under analysis. Regular grammars are equivalent in power to a regular expression. It cannot, for instance, count balanced parenthesis pairs.
We should completely remove the regular-only implementation from the repository, and rename the context-sensitive implementation to become the "intuitive" one to use -- for anybody new to the repo, it should be the first one they want to use.
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.