xl
xl copied to clipboard
A minimalist, general-purpose programming language based on meta-programming and parse tree rewrites
Have you seen https://www.youtube.com/watch?v=A3r0cYRwrSs? Do you think this would help you any in your quest to get a working implementation?
Maybe if you have time you could explain how the compiler works (or is supposed to work), specifically for the two basic examples of factorial (or fibonacci) and hello world...
http://c3d.github.io/xl/#data-inheritance I don't understand the difference between the two examples presented. Also, what is data inheritance (or am I looking too deep)?
Steps: ``` cd xl2/samples/HelloWorld cp ../../xl.syntax . cp ../../native/library/runtime/C/xl.bytecode . ../../bxl HelloWorld.xl > HelloWorld_native.cpp g++ -I../../ HelloWorld_native.cpp -o HelloWorld_native ``` gives: ``` /usr/bin/ld: /tmp/ccIKhQRM.o: in function `main': HelloWorld_native.cpp:(.text+0x112): undefined reference...
Greetings, I am new to XL. Looks very interesting. I am running on a modern X86-64 Linux machine. I have run into the following two issues: 1. "configure" should be...
With decimal float literals finally making it into C23 (implemented 2021 and formally adopted in 2022) and seeing XL making significant changes in its basics incl. float literals, I'd like...
I decided to add a basic Dockerfile so new users can quickly try out the language without having to install dependencies. Currently, the Dockerfile starts the interpreter" (in quotes because...
Lifetime is a [new concept](http://c3d.github.io/xl/#lifetime) in XL, inspired by the Rust ["borrow checker"](https://doc.rust-lang.org/1.8.0/book/references-and-borrowing.html), and destined to make it possible in XL to implement a wider class of borrow-checks from the...
This post will be written with XL being conceptual language in mind. At some places it might sound differently, but I've chosen to use that terminology to be clear about...
The README shows the following code for a program that compute the factorial of 1 to 5: ``` 0! is 1 N! is N * (N-1)! for I in 1..5...