The If Works This dirt was a building before

Talk: Writing a language in 15 minutes

I gave a talk at London Ruby User Group yesterday, based on the work I’ve been doing on Heist, my Scheme interpreter project. I wrote the core of a basic Scheme interpreter in about 15 minutes as a live-coded demo (well, kind of – the coding was pre-recorded so I could focus on talking), which seemed to go down pretty well. If you missed it (or if you were there and want to watch it again in slow motion), here’s the slides and the video (just code, no narrative (sorry)). (Side note: I think Lisp may be affecting my writing style.)

The slides first: lrug-scheme-15.zip. They are S5-format HTML, introducing the Scheme language features I implement during the talk. The video shown below is available at higher resolution from Vimeo.

Scheme interpreter in 15 minutes from James Coglan on Vimeo.

Video is also available from Skills Matter if you want the narrative. The code’s not really visible in this version so combine the audio from this with the above video and you should just about piece things together.

Some relevant links:

Thanks to everyone who came along and had nice things to say about the talks, especially to whoever was telling me about about the trie data structure; Heist’s tab-completion code is now much prettier.


7 Comments

[...] The If Works » Blog Archive » Talk: Writing a language in 15 minutes (tags: lisp ruby dsl) [...]

Posted by links for 2009-06-01 « My Weblog on 2 June 2009 @ 4am

Thanks for this video, it’s interesting.

Which editor do you use?

Thanks

Posted by Simone on 2 June 2009 @ 9am

Looks like redcar?

Posted by peterkrenn on 2 June 2009 @ 11am

[...] the London Ruby User Group’s regular meetup yesterday, James Coglan gave a talk on how to implement a Scheme interpreter in 15 minutes. He recorded a video of the coding in progress beforehand so he could focus on the narration so [...]

Posted by Writing An Interpreter In 15 Minutes With Ruby on 2 June 2009 @ 5pm

[...] the London Ruby User Group’s regular meetup yesterday, James Coglan gave a talk on how to implement a Scheme interpreter in 15 minutes. He recorded a video of the coding in progress beforehand so he could focus on the narration so [...]

Posted by Writing An Interpreter In 15 Minutes With Ruby | Webs Developer on 2 June 2009 @ 6pm

[...] de usuários de Ruby de Londres que aconteceu ontem, James Coglan deu uma palestra falando sobre como implementar um interpretador da linguagem Scheme em 15 minutos. Antes ele gravou um vídeo mostrando a codificação, assim ele poderia se concentrar na [...]

Posted by Escrevendo um interpretador em menos de 15 minutos com Ruby on 3 June 2009 @ 11pm

Very interesting. Thanks!

@Simone
I think it’s Gedit.

Posted by foo on 31 October 2009 @ 9pm

Leave a Comment