A Python implementation of the toy languages used in Part IB "Semantics of Programming Languages" (2020 - 2021)
Project description
semantics2021_toy_languages
A Python implementation of the toy languages used in Part IB "Semantics of Programming Languages" (2020 - 2021)
Source hosted at: https://github.com/MitalAshok/semantics2021_toy_languages
Package hosted at: https://pypi.org/project/semantics2021-toy-languages/
Use as a module, like:
$ python3 -m semantics2021_toy_languages --help
You should use a file like example.L1
:
l -> 1234, l0 -> -134, l1 -> 123
l + l0 + l1
Where the first line is the initial mappings, and any subsequent lines an L1 expression.
See examples/ for more examples.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for semantics2021_toy_languages-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc4b74813bbeec0465fb9125f3a6665539894c8a20661f40965879401d975b8f |
|
MD5 | 19a0a1c62f9388fe77d89de664f264de |
|
BLAKE2b-256 | ccb161421e5a6c33550dbfb345b821e611e28684bb0e85c2e8a424a3c93b5ee7 |
Close
Hashes for semantics2021_toy_languages-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c56c2c6975dbd1a08c5e403d63de627dfff498d8ac839eedbb29bbfd2a5aed1a |
|
MD5 | e9cdaf8731fcbbf7b680d38b8f5fbd12 |
|
BLAKE2b-256 | b11f3a7cfdca8732a101abf60cef42bc0f96e07a39c036e2c173cc434cce767d |