tsatke / lua Goto Github PK
View Code? Open in Web Editor NEWA Lua interpreter. www.lua.org
License: MIT License
A Lua interpreter. www.lua.org
License: MIT License
foobar
Then, lastly
Is your feature request related to a problem? Please describe.
Currently, only an in-memory scanner is available, which loads all content into memory and then parses.
Describe the solution you'd like
A scanner that reads fixed size chunks and creates tokens from these chunks (basically, a buffered scanner).
Additional context
Everything is pretty trivial, until it comes to the n-lookahead (or check
, as it's called in this codebase).
If the string that should be checked would cross chunk borders, a new chunk would have to be loaded, and then maybe unloaded, if the check was unsuccessful. This means, that everything has to be done manually in this method, consume
, lookahead
etc. Everything has to use custom offsets, relative to the current buffer, then switch to an offset relative to the next buffer etc.
Create a very basic parser for Lua.
Strings should be kept especially simple in the beginning, i.e. either be enclosed in '
or "
. No escapes and no multiline is needed in the beginning.
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.