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.0.tar.gz (16.2 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.0-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: drawerlang-1.0.0.tar.gz
  • Upload date:
  • Size: 16.2 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.0.tar.gz
Algorithm Hash digest
SHA256 243bf14d650ca00d87e6abad5d390c05f9c735e9753545ee645c5eec6d5d743e
MD5 65692a142f735b804e72837d3ccc9caf
BLAKE2b-256 166d9c21c85484a765883dcab8a54f7178c86283b658f40af058e4bbc7b3ab00

See more details on using hashes here.

File details

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

File metadata

  • Download URL: drawerlang-1.0.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f711ab2e75c12b72c72c91a3e9d1319197d7eb1d102dd7fd0c02e89d4c5c901c
MD5 b155647a99a88f05bd42434d6769b283
BLAKE2b-256 4876b4ebd0b2fc96e8235a8932972f48ef7c40fe7b1aec23e312c294978f9a37

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