Hacker GitHub

← All repos

chkoreff/Fexl

View on GitHub ↗ ★ 86 C

Function EXpression Language (interpreter for functional programs)

46 mentions on Hacker News by 1 person: 33 stories, 13 comments · first 2011-06-16 · latest 2017-03-21

Mentions per year 46 mentions · busiest year 2012 (31)
20082026
  1. …the "==" syntax for recursive definitions, so you don't have to use '@' (fixpoint) explicitly. https://github.com/chkoreff/Fexl/commit/57b841cb6c2347cad147...
  2. …more involved: http://fexl.com/demo/ You'll also find some code samples in the "test" directory: https://github.com/chkoreff/Fexl/tree/master/src/test The program a1.fxl there is the definitive test suite. The program a2.fxl reads what you…
  3. …James: I liked your article on range checking. I'm very keen on assertions, for example here: https://github.com/chkoreff/Fexl/blob/fresh/base/src/buf.c#L... It's still fast as greased lightning. I buffer up 2.6 MB here:…
    comment by fexl · 2014-03-23 · in Range-Checks and Recklessness
  4. …I really like is plain old C. To handle arbitrary strings reliably, I can just use this code: https://github.com/chkoreff/Fexl/blob/master/src/str.h https://github.com/chkoreff/Fexl/blob/master/src/str.c To deal with dynamic allocation,…
  5. Done. https://github.com/chkoreff/Fexl/commit/ce1d0f596ab3043e0edf...
    comment by fexl · 2013-10-10 · in GNU Make 4.0 Released
  6. For this reason and others I just wrote my own build script using /bin/sh: https://github.com/chkoreff/Fexl/blob/master/build Configurable with a small src/config file: https://github.com/chkoreff/Fexl/blob/master/src/config It…
    comment by fexl · 2013-10-09 · in GNU Make 4.0 Released
  7. Here's the direct link to spawn: https://github.com/chkoreff/Fexl/blob/b1e149d1a0795aa191b887...
  8. …context with a potentially enormous set of extra definitions, spread across multiple files: https://github.com/chkoreff/Fexl/blob/ced168cae71644ff9a9cb3...
  9. Here are the links: http://lkml.indiana.edu/hypermail/linux/kernel/0206.1/0402.h... https://github.com/chkoreff/Fexl/commit/9e361240168151706bcc...
  10. …as far-reaching as what you've done. When I write C code, I use a "build" script instead of "make": https://github.com/chkoreff/Fexl/blob/master/src/build (Never mind Fexl itself, I'm just sharing the build script here.) The build script…
  11. …tool. It seems reasonably fast for my purposes so far, and the expansion rule is just a one-liner: https://github.com/chkoreff/Fexl/blob/master/src/Y.c
    comment by fexl · 2011-07-16 · in What is a y-combinator?
  12. …Not really. Well, sort of. I mean, take a look at the reduction code for adding two long values: https://github.com/chkoreff/Fexl/blob/master/src/long_add.c In short, when you evaluate (long_add 2 3), that value is replaced with the number…
  13. …utility, but sometimes you just have to be careful. Take for example my "build" script for Fexl (at https://github.com/chkoreff/Fexl/blob/master/src/build ). There you will see these lines: # I don't use $obj and $bin here because that…