farm-compiler-1.0.1
توضیحات
A compiler for the Farm programming language
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | farm-compiler-1.0.1 |
| نام | farm-compiler |
| نسخه کتابخانه | 1.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Joshua Weinstein |
| ایمیل نویسنده | jweinst1@berkeley.edu |
| آدرس صفحه اصلی | https://github.com/jweinst1/Farm_Compiler |
| آدرس اینترنتی | https://pypi.org/project/farm-compiler/ |
| مجوز | - |
The Farm Compiler is written in python and has three main functions:
def compile_string(string): ~Takes a python string of Farm commands and compiles it.
def compile_file(name): ~Compiles a text file, or any file with farm_compiler commands in it.
def write_to_file(string, name): ~Takes a python string, compiles it, and writes the
resulting farm_compiler result to the name specified.
نحوه نصب
نصب پکیج whl farm-compiler-1.0.1:
pip install farm-compiler-1.0.1.whl
نصب پکیج tar.gz farm-compiler-1.0.1:
pip install farm-compiler-1.0.1.tar.gz