Loading Events

« All Events

  • This event has passed.

Let’s build a LISP lexer together – in Python

Dienstag, 6. Feber @ 19:00 - 22:00

Over the course of the last 12 months, Lukas Prokop has written several lexers and parsers. He shares his experience and is going to introduce everyone to the idea of writing a basic lexer and parser. LISP (or its syntax which is based on S-expressions) is famously the simplest syntax, if you want to support nested structures. The syntax is based on a prefix notation where every instruction is wrapped by parentheses and the arguments are whitespace-separated: (function arg1 arg2).

In fact, Peter Norvig's article on writing a LISP interpreter in python is quite famous: https://norvig.com/lispy.html

In this coding dojo, we will join together in a session to write a lexer for LISP. First, Lukas is going to introduce us to the challenge in a small presentation. He will also provide utilities for error messages and depending on the time, the parser (which is trivial to write) is provided or will be developed together. The core effort is developing the lexer (= tokenizer) in a communal effort.

Links

Details

Date:
Dienstag, 6. Feber
Time:
19:00 - 22:00
Event Category:
Event Tags:
,
Website:
https://events.graz.social/events/a0e017fd-3339-4d53-9093-c6b11c9a3d0f

Venue

realraum
15 Brockmanngasse
Graz, 8010

OpenStreetMap

Organizer

realraum
View Organizer Website

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert