Parse-URI :: LISP
In the last exams session I had to write a simplified URI parser in LISP.
LISP has the well known ability to melt people’s brain, but when you manage to
wrap your head around things it becomes quite interesting.
The projects for this course are always quite similar, so I assume someone
could be interested to see how I did it.
Please note that I did everything in no more than 3 or 4 hours, so surely it
could have been done better (for example without using defparameter
instructions).
Anyway it got me a pretty high mark, so I am OK with it.
Here is the simplified syntax I had to follow:
And here is the code: PARSE_URI_LISP