Cicada Lang is participating 2021 OSC China Open Source Project Selection , please vote for it!
Cicada Lang 2021 OSC China Open Source Project Selection {{projectVoteCount} has been obtained in, please vote for it!
2021 OSC China Open Source Project Selection It is in hot progress. Come and vote for your favorite open source project!
2021 OSC China Open Source Project Selection>>> Midfield Review
Cicada Lang won the 2021 OSC China Open Source Project Selection "The Best Popularity Project" !
Authorization Agreement GPL
development language TypeScript View source code »
operating system Cross platform
Software type Open source software
Classification programing language
Open source organizations nothing
region domestic
deliverer game
intended for unknown
Recording time 2022-08-03

Software Introduction

Cicada is a dependency type programming language and an interactive theorem prover.

Cicada language project is mainly to help the public understand that software development and mathematics research are actually the same kind of activities. People who practice these two activities can learn from each other and help each other in a very good way.

Installation mode

 

 npm install    // Install dependencies npm run build  // Compile `src/` to `lib/` npm run watch  // Watch the compilation npm run test   // Run test

Sample code

The natural number is defined as Inductive data type( inductive datatype )

 datatype Nat { zero: Nat add1(prev: Nat): Nat } function add(x: Nat, y: Nat): Nat { return recursion (x) { case zero => y case add1(prev, almost) => add1(almost.prev) } }
Expand to read the full text

code

Gitee index of is
exceed Items for

comment

Click to lead the topic 📣 Post and join the discussion 🔥
No content temporarily
{{o.pubDate | formatDate}}

{{formatAllHtml(o.title)}}

{{parseInt(o.replyCount) | bigNumberTransform}}
{{parseInt(o.viewCount) | bigNumberTransform}}
No more
No content temporarily
Issued a question and answer
{{o.pubDate | formatDate}}

{{formatAllHtml(o.title)}}

{{parseInt(o.replyCount) | bigNumberTransform}}
{{parseInt(o.viewCount) | bigNumberTransform}}
No more
No content temporarily
No content temporarily
zero comment
one Collection
 OSCHINA
Log in to view more high-quality content
 Back to top
Top