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
20082026
-
…the "==" syntax for recursive definitions, so you don't have to use '@' (fixpoint) explicitly. https://github.com/chkoreff/Fexl/commit/57b841cb6c2347cad147...
comment by fexl · 2014-09-21 · in The Y Combinator (no, not that one) – A Crash Course on Lambda Calculus -
…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…
comment by fexl · 2014-08-05 · in Fexl – Highly robust functional evaluation -
…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 -
…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,…
comment by fexl · 2014-01-07 · in Functional programming isn't the answer -
Done. https://github.com/chkoreff/Fexl/commit/ce1d0f596ab3043e0edf...
comment by fexl · 2013-10-10 · in GNU Make 4.0 Released -
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 -
Here's the direct link to spawn: https://github.com/chkoreff/Fexl/blob/b1e149d1a0795aa191b887...
comment by fexl · 2012-05-03 · in New "spawn" function in Fexl makes it easy to interact with a child process. -
…context with a potentially enormous set of extra definitions, spread across multiple files: https://github.com/chkoreff/Fexl/blob/ced168cae71644ff9a9cb3...
comment by fexl · 2012-05-01 · in Fexl standard context now defined in terms of elegant combinators -
Here are the links: http://lkml.indiana.edu/hypermail/linux/kernel/0206.1/0402.h... https://github.com/chkoreff/Fexl/commit/9e361240168151706bcc...
comment by fexl · 2012-03-25 · in On the use of "pointerness" in typedef -
…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…
comment by fexl · 2011-11-17 · in Show HN: @, a self modifying shell script/swiss army knife -
…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? -
…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…
comment by fexl · 2011-07-01 · in Fexl - a Function Expression Language -
…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…
comment by fexl · 2011-06-16 · in Review my idea: Preventing accidental usage /bin/rm