Ysharp-v4
Y#(Y-sharp)版本4现在发布了。 Ysharp是一种受C和Python启发的高级通用编程语言。
Y#(Y-sharp)v4的新增功能
builtin numpy arrays
builtin speak functions (male/female voices)
ability of adding Python Code to the Ysharp file to devlop new libraries
Used sly for Lexer & Parser
该语法文件显示一些Python运算符和内置函数的Unicode字符,从而改变了以下内容:
map ( lambda x : x , [ 1 , 2 , 3 ])
def foo ( e , a ):
if e in [ 1 , 2 , 3 ] and not a :
return math . sqrt ( math . pi )
else :
return sum ([ 1 , 2 , 3 ])