Why not? Have you never coded something for fun and wanted to show it off? HN seems like just the place to do that, full of like minded people who just code for the sake of coding.
That's what confused me. Building a C89 compiler is a lot of work, but aggressively useless in 2016. You would be hitting edge cases on most modern code.
Charlie Stross should put the language Z in his books. It's another language of that heritage, but writing a working compiler in it would constitute a thaumaturgic formula so powerful, the universe would end.
Yes. The "urge" part means "work:" Thaumaturgy is using magic to do work, and a demiurge was just a craftsman or artisan until Plato borrowed the term for theological purposes.
Huh, that's cool. I wonder if there's any way I can expand my etymology-fu apart from just picking stuff up randomly or learning Latin/Ancient Greek. (I did read Word Power Made Easy as a kid. It kicked off my interest in these things.)
One thing you can do is, if you come across a word you're curious about, plug it into Wiktionary and see what comes up. Wiktionary tends to be pretty good with etymology.
Clicking on one of the links provided gives this: https://en.wiktionary.org/wiki/ἔργον which lists a number of derived forms. Did you know that the words "energy" and "lethargy" and the prefix "ergo-" come from a derivative the Greek root of "urge"? Neither did I until I started writing this comment.
SubC was designed for demonstrating how a compiler works, not as a drop-in replacement for C. It's more like the Small C compilers of the 1980's, but without bending the rules (i.e. it compiles with little or no warnings).
(I'm the author of SubC, which is the language implemented by Gosubc.)
28 comments
[ 2.0 ms ] story [ 67.8 ms ] threadI get it if this is someone's project just for fun, but relevance to the HN crowd seems a bit iffy.
I assume it's for fun and to learn
I don't really see where your issue is, but I do see 3 reasons for it being on HN.
http://www.t3x.org/subc/README-current.html
For example, thaumaturgy: https://en.wiktionary.org/wiki/thaumaturgy
Clicking on one of the links provided gives this: https://en.wiktionary.org/wiki/ἔργον which lists a number of derived forms. Did you know that the words "energy" and "lethargy" and the prefix "ergo-" come from a derivative the Greek root of "urge"? Neither did I until I started writing this comment.
And looking up "demiurge" leads me to this: https://en.wiktionary.org/wiki/Δημιουργός where it comes from the Greek for "public worker". So that probably means the "demi" in "demiurge" comes from the same root as "democratic"! And going to the lowercase form gives https://en.wiktionary.org/wiki/δημιουργός
And I just realized that referring to a divine entity as "the Demiurge" is just a fancy way of saying "the Creator" or "the Maker".
I did not know that energy and lethargy come from the same Greek root, though, thanks!
(I'm the author of SubC, which is the language implemented by Gosubc.)
Relevant:
https://github.com/robertkrimen/otto
(JavaScript interpreter in go)
https://github.com/Shopify/go-lua
Lua VM in go