Hacker GitHub

← All repos

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

Mentions per year 11 mentions · busiest year 2015 (6)
20082026
  1. …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...
  2. …"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)
  3. 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…
  4. …//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…
  5. …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
  6. …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.
  7. …both are constructors, essentially. Take a look at what I'm doing with just a quasiquotation here: https://github.com/combinatorylogic/clike
  8. …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
  9. …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
  10. …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
  11. ▲ 32
    Clike: An extensible C-like language compiler in under 3000 lines of code
    story by sklogic · 2014-09-10 · 3 comments