Lussa
    • 首页Home
    • 下载Download
    • 文档Docs
    • 资源包Packages
    • 关于About
    • 让编程变得轻松、有趣

      Lussa is a programming language that lets you code Interestingly and work quickly.

      Lussa

      最新版本(latest version):Feidu/Win/Mac/Linux Lussa 1.0.1

    • 使用Lussa editor,易学且能轻松驾驭

      Quick and easy to learn with the Lussa editor that specifically designed for Lussa.

      Lussa editor

      最新版本(latest version):Feidu/Win/Mac/Linux Lussa editor 1.0

    • 初识Lussa

      First meet Lussa programming language and use it.

    • 1 a = '您好,\nLussa' ;

      2 >: a ;

      3 b = 'Hello world' ;

      4 c = ? (a) 'lussa' : 'world' ;

      5 >! b + ',' + c ;

      输出结果:

      您好,

      Lussa

      Hello world,lussa

      1 @ a( m,n = ){ //定义一个函数名为a的函数,m和n为形参,其中n可缺省

      2 ! m && >! ! ; //m不能缺省

      3 __ π __ = 3.1415 ; //声明一个常量π,赋值3.1415

      4

      5 ? (m == 1){ //条件表达式

      6 m ++ ;

      7 } : {

      8 m -- ;

      9 }

      10

      11 n && >! n * π ;

      12 >! m ; //返回值

      13 }

      14

      15 >: a (6) ;

      输出结果:

      5

      1 @:: a { //定义一个类名为a的类

      2 a = 0 ; //声明一个公有成员a,值为0

      3 [] b = ! ; //声明一个私有成员b,初始值为逻辑假

      4

      5 @_ ( x,t = ){ //构造函数

      6 ::-> x = x ; //内部指针

      8 ( ::-> x != ? ) && >! ! ;

      9 }

      10

      11 @ a(){ //公共方法a

      12 ! ::-> b || ::-> b () ;

      13 }

      14

      15 @[] b(){ //私有方法b

      16 ? (i; [ 0,10 ] ; ++ ) { //循环11次

      17 ::-> a ++ ;

      18 }

      19

      20 ( ::-> a > 10 ) && ::-> b = ! ;

      21 >! ::-> a ;

      22 }

      23

      24 @__ (){ //析构函数

      25 //表达式

      22 }

      27 }

      28

      29 >: :: a( ? ) -> a () ; //实例化类a,传参逻辑真,调用a方法,输出返回值

      输出结果:

      11

    • Lussa生态

      The Lussa ecosphere's construction is organic and begin with Lussa programming language.

      • 程序设计语言 PL

        甪飒 / Lussa

      • 操作系统 OS

        飞渡 / Feidu

      • 数据库 DB

        尢孖 / Youma

      • Web服务器 WS

        尢爻 / Youyao

      • 人工智能 AI

        搜范记 / Sofunji

    Copyright © 2018-2022 豫ICP备18032022号-1

    豫公网安备 41010702002819号