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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file semantics2021_toy_languages-1.1.0.tar.gz.
File metadata
- Download URL: semantics2021_toy_languages-1.1.0.tar.gz
- Upload date:
- Size: 11.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e04c3f14bf73b84e6de8424cf041b04a2c9ba50f2a0b18bc33d732224ec4d34a
|
|
| MD5 |
3c5efaab906869ea49d0984cf73e54d2
|
|
| BLAKE2b-256 |
f27a5212bfafc554fc9fba64390927cdaca7922f0628a989ac79af91dc501185
|
File details
Details for the file semantics2021_toy_languages-1.1.0-py3-none-any.whl.
File metadata
- Download URL: semantics2021_toy_languages-1.1.0-py3-none-any.whl
- Upload date:
- Size: 12.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
472e1730668d8c9102191080a5a2e7b114b877ddae298245532457fe1dbc2a71
|
|
| MD5 |
673ed015acb94648d8da9392c28dc356
|
|
| BLAKE2b-256 |
9bcb341b0c6aa6c941f070ba870a5e97aa697e5b9929ec8030de4ac6c634e280
|