b-rich / lex-build Goto Github PK
View Code? Open in Web Editor NEWThis project forked from vladcc/lex-build
builds lexers in different languages
License: MIT License
This project forked from vladcc/lex-build
builds lexers in different languages
License: MIT License
!!!NOTE!!! This project has moved to: https://github.com/vladcc/shawk/tree/main/shawk/awk/lex-build lex-build - a tokenizer generator Generates human readable lexers. Has a front end and back ends for different target languages. The lexers generated in C tend to be either faster than or comparable to flex. Details in readme_lex-c.txt. How to run: $ awk -f lex_lib.awk -f lex-first.awk src.txt | awk -f lex_lib.awk -f lex-c.awk assuming the lexer descriptions is in src.txt. Try lex-build/input.txt instead of src.txt for a demo. Generated source short examples: lex-build/tests/c/lex* lex-build/tests/awk/* Generated source longer examples: lex-build/c-vs-flex/lex* lex-build/c-vs-flex/awk/* Run unit tests: bash tests/run-tests.sh Run verbose unit tests: bash tests/run-tests.sh x Run performance tests: $ cd c-vs-flex/ && make -B all $ cd c-vs-flex/ && make -B awk More info: lex-build/readme_lex-first.txt - general framework, syntax, and front end doc lex-build/readme_lex-c.txt - the C back end documentation lex-build/readme_lex-awk.txt - the awk back end documentation lex-build/readme_proj.txt - the project structure
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.