ICAL  |  show  |  edit  |  edit as text  |  add to group

History of: Let's build a LISP lexer together - in Python

Current version (2024-02-06T18:54:57.886791)

    title: Let's build a LISP lexer together - in Python
startdate: 2024-02-06
starttime: 19:00
endtime: 22:00
timezone: Europe/Vienna
city: Graz
country: AT
address: 47.06554887530649, 15.450591444969549
exact: True
tags: workshop python lothr r3
urls:
    Meetup Anmeldung https://www.meetup.com/pygraz/events/298608104/
    PyGRAZ https://pygraz.org/
description:
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.
        

2024-01-17T16:54:45.257403

f1title: Let's build a LISP lexer together - in Pythonf1title: Let's build a LISP lexer together - in Python
2startdate: 2024-02-062startdate: 2024-02-06
3starttime: 19:003starttime: 19:00
4endtime: 22:004endtime: 22:00
5timezone: Europe/Vienna5timezone: Europe/Vienna
6city: Graz6city: Graz
7country: AT7country: AT
8address: 47.06554887530649, 15.4505914449695498address: 47.06554887530649, 15.450591444969549
9exact: True9exact: True
t10tags: workshop pythont10tags: workshop python lothr r3
11urls:11urls:
12 Meetup Anmeldung https://www.meetup.com/pygraz/events/298608104/12 Meetup Anmeldung https://www.meetup.com/pygraz/events/298608104/
13 PyGRAZ https://pygraz.org/13 PyGRAZ https://pygraz.org/
14description:14description:
15Over 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).15Over 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).
1616
17In fact, Peter Norvig's article on writing a LISP interpreter in python is quite famous: https://norvig.com/lispy.html17In fact, Peter Norvig's article on writing a LISP interpreter in python is quite famous: https://norvig.com/lispy.html
1818
19In 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.19In 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.

2024-01-17T16:54:15.176479

f1title: Let's build a LISP lexer together - in Pythonf1title: Let's build a LISP lexer together - in Python
2startdate: 2024-02-062startdate: 2024-02-06
3starttime: 19:003starttime: 19:00
4endtime: 22:004endtime: 22:00
5timezone: Europe/Vienna5timezone: Europe/Vienna
6city: Graz6city: Graz
7country: AT7country: AT
8address: 47.06554887530649, 15.4505914449695498address: 47.06554887530649, 15.450591444969549
9exact: True9exact: True
t10tags: workshopt10tags: workshop python
11urls:11urls:
12 Meetup Anmeldung https://www.meetup.com/pygraz/events/298608104/12 Meetup Anmeldung https://www.meetup.com/pygraz/events/298608104/
13 PyGRAZ https://pygraz.org/13 PyGRAZ https://pygraz.org/
14description:14description:
15Over 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).15Over 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).
1616
17In fact, Peter Norvig's article on writing a LISP interpreter in python is quite famous: https://norvig.com/lispy.html17In fact, Peter Norvig's article on writing a LISP interpreter in python is quite famous: https://norvig.com/lispy.html
1818
19In 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.19In 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.