Skip to main content

rem langauge, which is very comfortable.

Project description

PyPI version Intro MIT

Rem Langauge

Just use PyPI. Recommend to install cytoolz before installing Rem to speed up function invocations.

pip install remlang

Overview

Some Supported Features

See all features at Inrtoduction.

关于中文编程

Rem 支持中文编程, 因为它的tokenizer可以被动态操控,在任意一个Rem模块里,均有一个__compiler__对象, 负责处理输入语句到ast的转换。当下内置了一个无参函数中文编程, 便可以使用中文关键字。

>> call 中文编程
>> 对于 [3, 2] 作为 [甲, 乙] => 甲 * 乙 结束
# 等价于 =>
# case [3, 2] as [甲, 乙] => 甲 * 乙 end
=> 6

中英文token对照

English 中文
then 然后
when
and 并且
or 或者
in 含于
not
case 对于
as 作为
end 结束
where 其中
from
import 导入
yield 生成
into 跳跃到
let 使/让
True
False
None
is
.
= 等于

Project details


Download files

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

Files for remlang, version 0.5
Filename, size File type Python version Upload date Hashes
Filename, size remlang-0.5-py3-none-any.whl (29.3 kB) File type Wheel Python version 3.6 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page