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-0.1.0.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-0.1.0-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: drawerlang-0.1.0.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-0.1.0.tar.gz
Algorithm Hash digest
SHA256 47876151291b076c3632ee99e99c726704e6692a4cd83aef420747cd35034fb9
MD5 846be66d8382dd1e5efc244c4f8ea6d5
BLAKE2b-256 7fb32e61b02367aea4d37f2ce0b85a4c9980bc9523ab8b5931ec91a48ea50bdc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: drawerlang-0.1.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-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 98f1250f121ff8c2d4939bdd4a70547e0b37e23954aa12536293a9579b79f088
MD5 f7822cd6120e0005ed61bdfde7e51769
BLAKE2b-256 d4318187108097d9f122a250cad862de2796be217ecd1d89f53569f8f04f3d56

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