lone-lang/lone
View on GitHub ↗ ★ 435 C
The standalone Linux Lisp
20 mentions on Hacker News by 2 people: 2 stories, 18 comments · first 2023-04-23 · latest 2026-08-19
20082026
-
…Here's an entire lisp interpreter written in freestanding C using nothing but Linux system calls: https://github.com/lone-lang/lone It has a system-call primitive too, which means it can do anything . Here's a TCP echo server written in…
comment by matheusmoreira · 2026-08-19 · in Solo – a .so loader for static Linux binaries -
https://github.com/lone-lang/lone Sent a PR to breck7/pldb and it got merged in less than two minutes.
comment by matheusmoreira · 2026-08-16 · in The quirky personal homepages of programming language creators -
…easy to redesign this feature and develop even more high level features on top of the code loading. https://github.com/lone-lang/lone/issues/8
comment by matheusmoreira · 2026-07-24 · in Interview with Matheus Moreira about Lone Lisp and Linux Kernel -
…with nothing but Linux system calls. Been working on it and blogging about it for about 3 years now. http://github.com/lone-lang/lone/
comment by matheusmoreira · 2026-06-21 · in System call instrumentation on Linux/x86‑64 using memory‑indirect calls, part I -
I call it the lone programming language. https://github.com/lone-lang/lone/ It's a lisp interpreter with zero dependencies targeting Linux exclusively. I've written about a few of its development milestones:…
comment by matheusmoreira · 2025-11-20 · in The lost cause of the Lisp machines -
…version of the Explicit Control Evaluator from Structure and Interpretation of Computer Programs. https://github.com/lone-lang/lone/blob/master/source/lone/li... Now I'm thinking about converting it into a CESK machine which I believe is a…
comment by matheusmoreira · 2025-09-11 · in Show HN: I built a minimal Forth-like stack interpreter library in C -
…and my long term goal is to boot Linux into it and bring up the entire system from within the REPL. https://github.com/lone-lang/lone I haven't tested it but I bet Linux can already boot into it just fine. I still need to do more work to…
comment by matheusmoreira · 2025-05-05 · in Path Isn't Real on Linux -
I've been working on that language for a while now! https://github.com/lone-lang/lone It's a lisp interpreter with a built in system-call primitive. The plan is to implement everything else from inside the language. Completely…
comment by matheusmoreira · 2024-11-07 · in Linux Syscall Support -
…email to the Python mailing list! https://mail.python.org/pipermail/python-dev/2012-December/1... https://github.com/lone-lang/lone/commit/da13b67a61248b832b2... I didn't know he had done a presentation about it, thank you for posting that…
comment by matheusmoreira · 2024-08-03 · in Fast Lua Serialization (2023) -
…It's a freestanding lisp that targets the Linux kernel directly. No libraries, not even libc. https://github.com/lone-lang/lone
comment by matheusmoreira · 2024-03-11 · in (How to Write a (Lisp) Interpreter (In Python)) (2010) -
…to do it with some simple inline assembly. Here's my programming language's register spilling code: https://github.com/lone-lang/lone/blob/master/architecture/x... https://github.com/lone-lang/lone/blob/master/architecture/a...
comment by matheusmoreira · 2024-01-22 · in Boehm-Demers-Weiser conservative C/C++ Garbage Collector -
…file segments onto memory. Along the way I requested some linker features and actually got them! https://github.com/lone-lang/lone/blob/master/source/tools/l... With these tools I made it possible for my language's interpreter to load…
comment by matheusmoreira · 2024-01-04 · in Dealing with Weird ELF Libraries -
…I managed to create a surprisingly good test suite with bash and the rest of the GNU coreutils: https://github.com/lone-lang/lone/blob/master/scripts/test.b... It even runs in parallel. Submitted a patch to coreutils to implement the one…
comment by matheusmoreira · 2023-11-26 · in A peculiarity of the GNU Coreutils version of 'test' and '[' -
…by the way. I'm writing that article as promised but if you'd like to check it out ahead of time: https://github.com/lone-lang/lone/blob/master/source/tools/l... https://github.com/lone-lang/lone/blob/master/source/lone/au...…
comment by matheusmoreira · 2023-11-24 · in Cosmopolitan v3.1 -
…new feature upstreamed, my test suite will be complete. Here's the code if you wish to take a look: https://github.com/lone-lang/lone#testing https://github.com/lone-lang/lone/blob/master/scripts/test.b... Without env -i, the folllowing…
comment by matheusmoreira · 2023-09-09 · in Decoded: GNU Coreutils (2018) -
…has zero dependencies. Once compiled it will literally run on any Linux of the same architecture. https://github.com/lone-lang/lone I'm taking a break from this project at the moment but eventually I'm gonna add a feature that lets me put…
comment by matheusmoreira · 2023-09-06 · in Writing Small CLI Programs in Common Lisp (2021) -
…it horrible. I implemented it for my programming language with some rather simple assembly code: https://github.com/lone-lang/lone/blob/master/arch/x86_64.c#... https://github.com/lone-lang/lone/blob/master/arch/aarch64.c...
comment by matheusmoreira · 2023-07-10 · in The 90s Developer Starter Pack -
…ever . I'd like to share my project as well: a Lisp interpreter written in freestanding C. https://github.com/lone-lang/lone
comment by matheusmoreira · 2023-04-23 · in Two types of C programmers