6turtles 中文文档教程

发布于 3年前 浏览 26 更新于 3年前

npm i -g 6 海龟 命令行用法:6t filename

我提交的jam

抱歉,如果它不是很详细但我很匆忙

My language is named 6 turtles, it uses a base 6 numeric system 
where

T = 0, u = 1, r = 2, t = 3, l = 4, e = 5

You can declare vars by doing ```
IDENTIFIER (in caps and can only contain letters except T and U) is value

The 2原始类型是 ``` '"Turtlei1"' 并且只能包含那些字母 数字例如:eurl

Turtle expressions :

????value sign value????可用的标志: U = 除法 s = 乘法 :heavy_plus_sign: 表情符号添加, :heavy_minus_sign: 表情符号表示减法 :thumbsdown: 表情符号降低了整个字符串的 ascii 值, :thumbsup: 表情符号增加了整个字符串的 ascii 值, 所以exu ``` 表示 5 / 1

调用一个函数, <代码>功能唤醒! (选项:考虑到价值和价值)(选项:直到条件)????

声明一个函数, FUNCTIONNAME 正常( 函数体 )

条件: 值等于表达式 不是条件 相当于 ! 条件

示例倒计时程序:

INDEX is Turtle

S is '"T"'
S is ????SUS????

CONDOWN is normal (
  PRIN wake up! with INDEX in mind ????
  INDEX ➖➖
)

CONDOWN wake up! until not INDEX equals T ????
PRIN wake up! with A in mind ????

npm i -g 6turtles command line usage : 6t filename

My submission for the jam

Sorry if it isn't very detailed but I am in a rush

My language is named 6 turtles, it uses a base 6 numeric system 
where

T = 0, u = 1, r = 2, t = 3, l = 4, e = 5

You can declare vars by doing ```
IDENTIFIER (in caps and can only contain letters except T and U) is value

The 2 primitive types are ``` '"Turtlei1"' and can only contain those letters numbers for example : eurl

Turtle expressions :

????value sign value????The available signs : U = division s = multiplication the :heavy_plus_sign: emoji addition, the :heavy_minus_sign: emoji means substract the :thumbsdown: emoji decreases the ascii value of an entire string, the :thumbsup: emoji increments the ascii value of an entire string, soexu ``` means 5 / 1

Call a function, FUNCTION wake up! (option : with value and value in mind) (option: until condition) ????

declare a function, FUNCTIONNAME is normal( function body )

Conditions : value equals expression not condition equivalent of ! condition

Example countdown program :

INDEX is Turtle

S is '"T"'
S is ????SUS????

CONDOWN is normal (
  PRIN wake up! with INDEX in mind ????
  INDEX ➖➖
)

CONDOWN wake up! until not INDEX equals T ????
PRIN wake up! with A in mind ????
    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文