billsix/bug
View on GitHub ↗ ★ 17 Scheme
Bill's Utilities for Gambit Scheme
7 mentions on Hacker News by 1 person: 0 stories, 7 comments · first 2016-05-13 · latest 2018-07-15
20082026
-
…examples is out of reach; I wrote a compile-time test framework in 7 lines of Gambit Scheme code https://github.com/billsix/bug/blob/master/README.md
comment by billsix · 2018-07-15 · in Lisp and Haskell (2017) -
…(if (= n 0) [1] [(* n (fact (- n 1)))])]}} (pp {at-compile-time-expand (fact 3)}) (pp (fact 3)) https://github.com/billsix/bug
comment by billsix · 2017-08-08 · in Show HN: C++ runtime/compile-time detection in constexpr functions -
…during macro expansion, you can have the full runtime at Compile-Time. State and IO included! https://github.com/billsix/bug http://www.lulu.com/shop/bill-six/computation-at-compile-tim...
comment by billsix · 2017-05-09 · in Lisp Meta-Programming for C++ Developers: First Macros -
I avoid running main by testing at compile-time :-). https://github.com/billsix/bug/blob/master/demo/src/bug-demo...
comment by billsix · 2017-01-02 · in How I Write Tests -
…I eval during macro expansion, thus treating the compiler as an interpreter during compile-time. https://github.com/billsix/bug
comment by billsix · 2016-12-19 · in CHIP-8 in Common Lisp: The CPU -
…Scheme. (If any test fails, the compiler exits in error, and no library or executable is produced.) https://github.com/billsix/bug
comment by billsix · 2016-09-10 · in Why Ruby is an acceptable Lisp (2005)