c3d/xl
View on GitHub ↗ ★ 285 C++
A minimalist, general-purpose programming language based on meta-programming and parse tree rewrites
10 mentions on Hacker News by 5 people: 1 story, 9 comments · first 2019-11-01 · latest 2024-02-21
20082026
-
…to use to hold them. No need to switch to another stdcpp one, even if internally LLVM does so. [0]: https://github.com/c3d/xl/blob/master/src/llvm-crap.cpp#L265
comment by sixthDot · 2024-02-21 · in XL: An Extensible Programming Language -
The really ugly stuff is here: https://github.com/c3d/xl/blob/master/src/llvm-crap.cpp
comment by c3d · 2024-02-21 · in XL: An Extensible Programming Language -
…share my most memorable piece of code ever: llvm-crap (Compatibility Restoration Adaptive Protocol) https://github.com/c3d/xl/blob/master/src/llvm-crap.h
comment by c3d · 2024-02-21 · in XL: An Extensible Programming Language -
You can do exactly that, and this is how this is defined in the built-in library https://github.com/c3d/xl/blob/fast/src/builtins.xl#L222 How it works is what I tried to document in the document above. The trick is to have some fixed…
comment by c3d · 2024-02-21 · in XL: An Extensible Programming Language -
See the code around here to answer that question: Definition of 'if' statement: https://github.com/c3d/xl/blob/fast/src/builtins.xl#L155 // If-then-else statement if [[true]] then True else False is True if [[false]] then True else False…
comment by c3d · 2024-02-21 · in XL: An Extensible Programming Language -
…(needs maybe htmx and typsense?) - https://github.com/python-eel/Eel Cool: - https://github.com/c3d/xl - maybe smalltalk xstreams Can't decide: - https://github.com/Wanderson-Magalhaes/Modern_GUI_PyDracula_... I''m going to bed.
comment by tripleo1 · 2023-12-24 · in Ask HN: Cool Useful GitHub Repos? -
…I was actually looking for something specific about parse trees vs S-expressions. That would be https://github.com/c3d/xl/blob/master/doc/HANDBOOK_1-syntax.... But I'm reading the whole thing now. Very interesting language! I don't see…
comment by yiyus · 2019-11-02 · in The Lx Programming Language -
Well, a starting point would be this: https://github.com/c3d/xl/tree/master/doc . It's not finished, but it gives you a good idea. For Tao3D, you have https://tao3d.sf.net .
comment by c3d · 2019-11-02 · in The Lx Programming Language -
Disclaimer: Author of the language / web page speaking. This one is hopelessly outdated. See https://github.com/c3d/xl for the current state of things. A bit of history of the language here: https://github.com/c3d/xl/blob/master/doc/HISTORY…
comment by c3d · 2019-11-01 · in The Lx Programming Language -
▲ 63
The Lx Programming Languagestory by kick · 2019-11-01 · 46 comments