combinatorylogic/clike
View on GitHub ↗ ★ 131 Perl
A simple C-like language compiler with an extensible syntax and typed macros support
11 mentions on Hacker News by 2 people: 1 story, 10 comments · first 2014-09-10 · latest 2016-03-04
20082026
-
…and spit out nice wrapper library for your language of choice. And example of this approach: https://github.com/combinatorylogic/clike/blob/master/llvm-w...
comment by sklogic · 2016-03-04 · in No Compiler – On LLVM, and writing software without a compiler -
…"amplifying" C with Lisp-like syntax macros. Looks like there is a lot of potential on this route: https://github.com/combinatorylogic/clike
comment by sklogic · 2016-02-07 · in Amplifying C (2010) -
The repo looks to be here: https://github.com/combinatorylogic/clike Because you have a functional and also imperative language (pfront?) that your compiler is written in, you avoid memory churn by ensuring "visitor nodes are chained…
comment by ky3 · 2015-12-24 · in Want to Write a Compiler? Read These Two Papers (2008) -
…//github.com/combinatorylogic/mbase/tree/master/src/l/... An example of a grammar built on top of it: https://github.com/combinatorylogic/clike/blob/master/clike/... - see the `binary` nodes there, they're translated into Pratt while all…
comment by sklogic · 2015-12-15 · in How I wrote a self-hosting C compiler in 40 days -
…Converge, Nemerle. I did quite a bit of exploration in this area too, here is one of the examples: https://github.com/combinatorylogic/clike
comment by sklogic · 2015-07-20 · in None Programming Language -
…by adding a tiny bit of compile-time Turing-completeness and a bit of compile-time reflection: https://github.com/combinatorylogic/clike Made it equally powerful to Scheme, Forth, Nemerle, TH, C++ and the other proper meta-languages.
comment by sklogic · 2015-07-01 · in John Carmack working on Scheme as a VR scripting language -
…both are constructors, essentially. Take a look at what I'm doing with just a quasiquotation here: https://github.com/combinatorylogic/clike
comment by sklogic · 2015-07-01 · in John Carmack working on Scheme as a VR scripting language -
…I was exploring similar things from a slightly different angle (using PEG natural extensibility): https://github.com/combinatorylogic/clike
comment by sklogic · 2015-06-10 · in Magma: Extending C with macros -
…a semantic entity, instead of simply concatenating grammars (e.g., see such extension points here: https://github.com/combinatorylogic/clike/blob/master/clike/... )
comment by sklogic · 2014-10-27 · in Eco: A Language Composition Editor -
…is very easy for the languages based on PEG. See https://github.com/combinatorylogic/mbase and https://github.com/combinatorylogic/clike for example of this approach.
comment by sklogic · 2014-10-01 · in Benefits of Writing a DSL in Ruby