Hacker GitHub

← All repos

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

Mentions per year 19 mentions · busiest year 2013 (4)
20082026
  1. …is more ergonomic than the CL readtable. 1: Which is powerful enough to implement a C compiler in: https://github.com/vsedach/Vacietis
  2. Project name: Vacietis URL: https://github.com/vsedach/Vacietis Programming language used for the compiler: Common Lisp Compiles to: Common Lisp
  3. …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
  4. 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++
  5. ▲ 97
    Vacietis, a C compiler targeting Common Lisp
    story by reikonomusha · 2020-12-24 · 27 comments
  6. …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
  7. 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
  8. …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
  9. …IO multiplexing, and transpiling: https://github.com/vsedach/Eager-Future2/blob/master/future.... https://github.com/vsedach/Vacietis/blob/master/compiler/imp...
  10. …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
  11. 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…
  12. …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...
  13. …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
  14. This is an instance of a C to Lisp compiler that translates to s-expressions https://github.com/vsedach/Vacietis
  15. Here's C in Common Lisp: https://github.com/vsedach/Vacietis#readme
    comment by _delirium · 2013-12-03 · in The Language-Language Matrix
  16. …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.
  17. https://github.com/vsedach/Vacietis
    comment by soegaard · 2013-03-05 · in Lisp Hackers: Vladimir Sedach
  18. …"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
  19. …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?