-
The [Langium Lox example](https://github.com/langium/langium-lox) is a fairly complex sample language that shows a few advanced language features, such as expressions, member calls, functions (with in…
-
It seems that it is possible for us to add Lox as a language at Linguist. We will need to submit a PR to linguist (https://github.com/github-linguist/linguist) and complete the checklist:
1. The ex…
-
**What will you do?**
Inspired by [Crafting Interpreters](https://craftinginterpreters.com/contents.html)
I will be building a full-functioned Lox programming language compiler and a bytecode interp…
-
#### CHALLENGES
- [ ] The lexical grammars of Python and Haskell are not regular. What does that mean, and why aren’t they?
- [ ] Aside from separating tokens—distinguishing print foo from print…
-
Hi
I am trying to use arcsecond for my toy language and am struggling a bit due to the lack of actual language examples to refer to.
I was hoping that if the examples for some simple languages be …
-
The words `term` and `factor` are being misused in Lox's parser.
A polynomial is a summation of _terms_ which are each a product of _factors_.
These are correctly used in the [Wikipedia article](h…
-
[CHALLENGES](https://craftinginterpreters.com/parsing-expressions.html#challenges)
- [ ] In C, a block is a statement form that allows you to pack a series of statements where a single one is expec…
-
This is a bit of a tall order but I reckon it will be doable. We need to go deeper. Writing the compiler to output Python will probably be most natural, but since the feature set is small (I don't see…
-
I would love support for both the `import` keyword and array syntax (`[...]`).
Both are non-standard but pretty common; ideally I would like a configuration option to turn on; however I don't know …
-
```
% python plox/plox.py ../crafting-interpreters/closure-bind.lox
readin ../crafting-interpreters/closure-bind.lox
global
block
% cat ../crafting-interpreters/closure-bind.lox
var a = "glob…