daniellemaywood / glexer Goto Github PK
View Code? Open in Web Editor NEWGleam lexer implemented in Gleam!
License: MIT License
Gleam lexer implemented in Gleam!
License: MIT License
Hello!
I'm finding it a little annoying having to pattern match on the Position
records to get the position int out of them. Seeing as this type does nothing would you consider unboxing it and just returning the int?
Thanks,
Louis
Hello!
This library has a mechanism for lazily emitting a token stream, and a function for realising this stream to a list.
What do you think of using the iterator module for this? It would make it easier to integrate with other libraries. It would fix the stack overflow bug in the lex
function (due to it currently not being tail recursive).
When trying to lex the hex number 0x2c in a pattern for a case branch, the produced tokens treated c as a name and 0x2 as the number.
Line 291 in 9fd5fe4
Would you be opposed to a PR adding line numbers to Glexer's output? We could use line numbers in the linter we're hacking on.
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.