louisdh / cub Goto Github PK
View Code? Open in Web Editor NEWThe Cub Programming Language
License: MIT License
The Cub Programming Language
License: MIT License
It would be really nice if diagnostics pointed to the code they’re diagnosing, more than just Error on line 2: xxx
.
Clang/Swift’s diagnostic formatting is really nice, and I’d love to see something more like that.
foo.cub:10:2 error: unexpected token
for (), x > 12, x += 1 {
^
Bonus points for ANSI coloring.
There’s currently no diagnostic raised when a function declared as returns
doesn’t return a value.
This can be tricky, as you have to prove all paths through the function body actually return.
Can you make a more simpler way of installing the interpreter? Like using brew or something.
The lever involves some very complicated operations. You have hashing as a token mapper and all these string operations. Since String has variable lengths encoding some of the O(n) operations are secretly O(n^2). I have the same problem in my lexer for Swizzle but I use string indices rather than this so the string only has to scan starting from the current index.
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.