lienne: A happy, whirring cartoon chainsaw. (emotion: gleeful (perhaps deranged))
Pyth ([personal profile] lienne) wrote in [personal profile] kimira 2012-10-31 01:15 am (UTC)

Other direction entirely! They're theoretical basics, not implementation basics. :D So f'rex, it takes fifty lines of code in Scheme to define a self-interpreting interpreter - a function that takes code as input and executes the code, which if given itself can execute itself. That means it is also possible to fairly cheaply implement any other language in Scheme - one of the group options for the final project in the course was to implement a simplified Python. :D

(For a long time, my internal metric for how awesome Scheme is was "you can do anything you want to in Scheme, except pointer arithmetic". Then it turned out that, like everything else under the sun, there's a Scheme library for pointer arithmetic. This shit is fucking witchcraft, it's glorious.)

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting