vsedach/Vacietis
View on GitHub ↗ ★ 319 Common Lisp
C to Common Lisp compiler
19 mentions on Hacker News by 9 people: 1 story, 18 comments · first 2011-04-07 · latest 2024-05-02
20082026
-
…is more ergonomic than the CL readtable. 1: Which is powerful enough to implement a C compiler in: https://github.com/vsedach/Vacietis
comment by aidenn0 · 2024-05-02 · in Cognition: A new antisyntax language redefining metaprogramming -
Project name: Vacietis URL: https://github.com/vsedach/Vacietis Programming language used for the compiler: Common Lisp Compiles to: Common Lisp
comment by tmtvl · 2023-04-12 · in Ask HN: List of (open source) C compilers -
…more directly than Haskell, so it's easier to write allocation-free code in hot paths. [2] https://github.com/vsedach/Vacietis
comment by jmillikin · 2023-04-07 · in Rust's Poor Composability -
How about C? https://news.ycombinator.com/item?id=25531871 https://github.com/vsedach/Vacietis ================ Vacietis is a C compiler for Common Lisp systems. Vacietis works by loading C code into a Common Lisp runtime as though it were…
comment by flubert · 2020-12-28 · in Wisp: A light Lisp written in C++ -
…to be able to read in valid C89 code, and implemented a backend to compile that to common-lisp: https://github.com/vsedach/Vacietis
comment by aidenn0 · 2020-09-25 · in Compiling a Lisp: Reader -
Here's a real-word C compiler where the sizeof() everything is 1; https://github.com/vsedach/Vacietis For another example, the LLVM webassembly backend doesn't put the call stack in the same address space as the heap at all.
comment by aidenn0 · 2019-09-05 · in Memory Layout of a Program in C -
…very different because template instantiation needs its own step. [1] https://bellard.org/tcc/ [2] https://github.com/vsedach/Vacietis/blob/master/compiler/rea...
comment by sedachv · 2018-08-28 · in Oops, I Wrote a C++ Compiler -
…IO multiplexing, and transpiling: https://github.com/vsedach/Eager-Future2/blob/master/future.... https://github.com/vsedach/Vacietis/blob/master/compiler/imp...
comment by sedachv · 2018-03-17 · in Tail calls, tailrec and trampolines (2009) -
…not that hairy. I did a recursive-descent one as a Common Lisp reader macro in less than 1k loc: https://github.com/vsedach/Vacietis/blob/master/compiler/rea... C is ok in that you can handle everything (including typedefs) in a single…
comment by sedachv · 2018-01-15 · in Gosh Darn Function Pointers -
The Vacietis ( https://github.com/vsedach/Vacietis/ ) reader can be easily adapted to do that. You can see examples in the unit tests: https://github.com/vsedach/Vacietis/blob/master/test/reader-... As-is, C block constructs get mapped…
comment by sedachv · 2018-01-05 · in Show HN: Compiler using Lisp’s macro system for metaprogramming C-like languages -
…for free. I wrote a one-pass C preprocessor and parser in just under a thousand lines of code: https://github.com/vsedach/Vacietis/blob/master/compiler/rea...
comment by sedachv · 2016-06-06 · in Show HN: Full Stack Lisp – A book in progress about writing Common Lisp apps -
…and pre-processor (something not handled by Lex/Yacc) that produces executable Common Lisp code: https://github.com/vsedach/Vacietis/blob/master/compiler/rea... 935 lines
comment by sedachv · 2014-11-05 · in C4 – C in 4 functions -
This is an instance of a C to Lisp compiler that translates to s-expressions https://github.com/vsedach/Vacietis
comment by pyb · 2013-12-07 · in X server in 5000 lines of Common Lisp -
Here's C in Common Lisp: https://github.com/vsedach/Vacietis#readme
comment by _delirium · 2013-12-03 · in The Language-Language Matrix -
…an update after almost 5 years! I looked into Clue for compiling C to Common Lisp before writing https://github.com/vsedach/Vacietis because I wanted something that would interop better with CL types and be able to run self-contained.
comment by sedachv · 2013-03-15 · in Clue 0.6 - C to Lua, Javascript, Java and Perl compiler -
https://github.com/vsedach/Vacietis
comment by soegaard · 2013-03-05 · in Lisp Hackers: Vladimir Sedach -
…"interactive" compilers like Lisp ones are. I am writing a C to Common Lisp translator right now ( https://github.com/vsedach/Vacietis ). This is surprisingly easy because C is largely a small subset of Common Lisp. Pointers are trivial to…
comment by sedachv · 2012-08-13 · in Cling: Running C++ in an interpreter -
…a competent C programmer, and I have no desire to become one. Trying to write a compiler for C ( https://github.com/vsedach/vacietis ) has only cemented my dislike for the language. I don't blame Dennis Ritchie for it. He probably thought…
comment by sedachv · 2011-04-07 · in Poll: Do you know C?