Hacker GitHub

← All repos

eudoxia0/cmacro

View on GitHub ↗ ★ 896 Common Lisp archived

Lisp macros for C

18 mentions on Hacker News by 12 people: 4 stories, 14 comments · first 2014-04-22 · latest 2024-03-27

Mentions per year 18 mentions · busiest year 2016 (5)
20082026
  1. Couple of others: c-mera: https://github.com/kiselgra/c-mera cmacro: https://github.com/eudoxia0/cmacro (This one one is implemented in Common Lisp for its semantics, but doesn't use a S-exp surface syntax for the code.) sxc:…
  2. https://github.com/eudoxia0/cmacro
  3. ▲ 67
    Cmacro: Lisp Macros for C
    story by thesephist · 2022-07-28 · 10 comments
  4. …a very useful language and this type of source-to-source compilers are huge force multipliers. [0]: https://github.com/eudoxia0/cmacro [1]: https://en.wikipedia.org/wiki/Substructural_type_system#Line...
  5. Some well-known existing work in this exact area: https://github.com/kiselgra/c-mera https://github.com/eudoxia0/cmacro (Written in Common Lisp, doesn't use S-exp syntax) https://github.com/tomhrr/dale (Prev disc:…
    comment by kazinator · 2020-12-21 · in Cakelisp: A Programming Language for Games
  6. James Gosling, 1989: https://swtch.com/gosling89ace.pdf Fernando Boretti: https://github.com/eudoxia0/cmacro
  7. ▲ 113
    Lisp macros for C
    story by wooby · 2017-04-19 · 14 comments
  8. How is it different from https://github.com/eudoxia0/cmacro and https://github.com/eudoxia0/magma ?
  9. …And, for people who refuse to let go of curly braces, there's this shameless plug: https://github.com/eudoxia0/cmacro
    comment by eudox · 2016-05-13 · in LispY C
  10. …since I'm not a game developer). -- 1. Just kidding, people have done it already; e.g. https://github.com/eudoxia0/cmacro but it'll probably never be part of the standard. 2. https://github.com/BSVino/JaiPrimer/blob/master/JaiPrimer.md
    comment by PeCaN · 2016-03-18 · in C – Preliminary C2x Charter
  11. ▲ 8
    Cmacro
    story by seansh · 2016-03-17 · 0 comments
  12. …by Fernando Borretti for Lisp-style macros in C, with macro expander written in Common Lisp: https://github.com/eudoxia0/cmacro , and a collection of basic macros: https://github.com/eudoxia0/magma This way he has already added lambdas,…
    comment by mapcars · 2016-02-07 · in Amplifying C (2010)
  13. …in Racket" Are you really arguing that implementing some other language is the way to go? https://github.com/eudoxia0/cmacro http://research.swtch.com/shmacro Totally legit "C".
  14. implemented with a Common Lisp preprocessor: https://github.com/eudoxia0/cmacro
    comment by stefantalpalaru · 2015-06-10 · in Magma: Extending C with macros
  15. I wrote cmacro[0] and magma[1] with the goal of a augmenting C while keeping it C-like. [0]: https://github.com/eudoxia0/cmacro [1]: https://github.com/eudoxia0/magma
  16. Well, you can add ADT's to C/C++ with a macro system: https://github.com/eudoxia0/cmacro/blob/master/t/good-macros...
  17. Looking at the lexer[0], it probably works on D and maybe C++. [0] https://github.com/eudoxia0/cmacro/blob/master/grammar/lexin...
    comment by eukaryotia · 2014-04-22 · in Lisp macros for C
  18. ▲ 116
    Lisp macros for C
    story by eudox · 2014-04-22 · 72 comments