Skip to main content

drawer python 实现

这是《编译原理》课程上机实验要求实现的绘图语言(命名为 drawer)的 python 实现

运行

前置要求

安装以下软件

系统要求: 因为 python 是跨平台的,理论上没有系统要求。但开发时用的是 Ubuntu 22.04.3 LTS.

具体步骤

poetry install
poetry shell # 进入虚拟环境
make parser

项目组成

命令行程序

这是命令行接口,用来调用该解释器

解释器核心

通过解析字符串,导出一系列的指令序列,供外部程序使用

语法定义文件

定义了 drawer 语言的语法

Release files for drawerlang 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for drawerlang 1.0.1
File Size Uploaded
drawerlang-1.0.1.tar.gz 16.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for drawerlang 1.0.1
File Interpreter ABI Platform
drawerlang-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 34.4 kB

Release files / drawerlang-1.0.1.tar.gz

Download URL drawerlang-1.0.1.tar.gz
Size 16.1 kB
Tags Source
SHA-256 checksum
How to use checksums
88f89b64d0b0ba81554efc86e3973682016c004988a2d951a77b6dc4a90044c7
BLAKE2b-256 checksum
How to use checksums
441962798551d88b412bab00f9542a75a89dc5b7550ed23ac6ca42de2850f2ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.4 CPython/3.10.12 Linux/5.15.153.1-microsoft-standard-WSL2

Release files / drawerlang-1.0.1-py3-none-any.whl

Download URL drawerlang-1.0.1-py3-none-any.whl
Size 18.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6b75b8e716b4f1bd434716f1c4d3a6111de0c31f01a49f3585688dc0883d2a92
BLAKE2b-256 checksum
How to use checksums
1b2ec24d30fa7c7c762a21c92871e6fc5ff5c7ff9064b11e5601770669dae260
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.4 CPython/3.10.12 Linux/5.15.153.1-microsoft-standard-WSL2

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page