2 ms·
Language designers take note: there is tremendous utility in making entities in your language isomorphic to entities expressed in previous languages. I am actu
by stcredzero 17y ago
Language designers take note: there is tremendous utility in making entities in your language isomorphic to entities expressed in previous languages.
I am actually using such isomorphisms in my current porting project. I'm literally getting a couple of orders of magnitude more productivity out of this over porting by hand.
Also note: less syntax makes this easier.
- sketerpot 17y agoI recently wrote a program to do Threefish encryption which I deliberately wrote to look as much like the mathematical notation in the spec as possible. That made things so much easier that it was almost ridiculous, even if it made the resulting program very peculiar-looking.
- blasdel 17y agoYou'll love what Alan Kay has been working on: http://vpri.org/pdf/tr2007008_steps.pdf http://vpri.org/pdf/tr2007008_steps.pdf You'll be especially enamored of their 200-line TCP/IP implementation, introduced on p17 and reproduced with documentation starting on p44. It's implemented as a grammar in their meta-language that parses the ASCII-art diagrams in the RFCs and executes them.