News for hackers. Stuff that matters.
Re:I told my 2nd year CS students to create a programming la... by Udo on Monday May 14, 2012 @06:00PM (#3973581)
This is a very cool experiment, this should be standard practice in teaching CS. I'm a little surprised at the limitations of their interpreters, given the fact that they are 2nd year already - but then again, they were given the task do develop a language for a very specific test case.

The absence of support for nested loop/if constructs probably means they didn't write parsers that generate trees, but rather chose to execute scripts line-by-line, right?

I'd like to ask you fellow hackers: if you created a toy programming language today, what features would it have?

Re:I told my 2nd year CS students to create a programming la... by dovyski on Monday May 14, 2012 @07:58PM (#3974041)
Thanks! I was a little surprised too, but I think they focused too much on the test case, not the language itself.

About your (first) question, yes, they all execute scripts line-by-line.