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
20082026
-
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:…
comment by kazinator · 2024-03-27 · in Cwerg: C-like language that can be implemented in 10kLOC -
https://github.com/eudoxia0/cmacro
comment by comma_at · 2022-08-12 · in Advanced Metaprogramming in C: A select statement -
▲ 67
Cmacro: Lisp Macros for Cstory by thesephist · 2022-07-28 · 10 comments
-
…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...
comment by zetalyrae · 2021-08-13 · in Show HN: C programming language extension: Cedro pre-processor -
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 -
James Gosling, 1989: https://swtch.com/gosling89ace.pdf Fernando Boretti: https://github.com/eudoxia0/cmacro
comment by kazinator · 2018-11-13 · in C2x: the next real revision of the C standard -
▲ 113
Lisp macros for Cstory by wooby · 2017-04-19 · 14 comments
-
How is it different from https://github.com/eudoxia0/cmacro and https://github.com/eudoxia0/magma ?
comment by mapcars · 2016-12-17 · in Sxc – An s-expression based language source transpiler for C -
…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 -
▲ 8
Cmacrostory by seansh · 2016-03-17 · 0 comments
-
…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) -
…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".
comment by ahoge · 2015-07-01 · in John Carmack working on Scheme as a VR scripting language -
implemented with a Common Lisp preprocessor: https://github.com/eudoxia0/cmacro
comment by stefantalpalaru · 2015-06-10 · in Magma: Extending C with macros -
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
comment by eudox · 2014-12-26 · in Cello – Higher Level Programming in C -
Well, you can add ADT's to C/C++ with a macro system: https://github.com/eudoxia0/cmacro/blob/master/t/good-macros...
comment by eudox · 2014-08-26 · in Dylan: the harsh realities of the market -
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 -
▲ 116
Lisp macros for Cstory by eudox · 2014-04-22 · 72 comments