Skip to main content

绘制脚本drawer的python实现

Project description

drawer python 实现

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

运行

前置要求

安装以下软件

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

具体步骤

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

项目组成

命令行程序

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

解释器核心

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

语法定义文件

定义了 drawer 语言的语法

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

drawerlang-1.0.1.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

drawerlang-1.0.1-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

Details for the file drawerlang-1.0.1.tar.gz.

File metadata

  • Download URL: drawerlang-1.0.1.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.10.12 Linux/5.15.153.1-microsoft-standard-WSL2

File hashes

Hashes for drawerlang-1.0.1.tar.gz
Algorithm Hash digest
SHA256 88f89b64d0b0ba81554efc86e3973682016c004988a2d951a77b6dc4a90044c7
MD5 6c73bd259c59592c5e93f1fed13d92e3
BLAKE2b-256 441962798551d88b412bab00f9542a75a89dc5b7550ed23ac6ca42de2850f2ae

See more details on using hashes here.

File details

Details for the file drawerlang-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: drawerlang-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 18.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.10.12 Linux/5.15.153.1-microsoft-standard-WSL2

File hashes

Hashes for drawerlang-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6b75b8e716b4f1bd434716f1c4d3a6111de0c31f01a49f3585688dc0883d2a92
MD5 0a52273067c66cb52b2c0d55b4ecbb76
BLAKE2b-256 1b2ec24d30fa7c7c762a21c92871e6fc5ff5c7ff9064b11e5601770669dae260

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page