azdavis / hatsugen

A small programming language formally defined with a series of blog posts and Lean code.

Home Page:https://azdavis.net/posts/define-pl-01

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hatsugen (発言)

A small programming language formally defined with a series of blog posts and Lean code.

The blog posts are available in English and Japanese. (I am not a native Japanese speaker but I tried my hand at translating.)

Part Title en ja
1 Integers and booleans en ja
2 Functions en ja
3 Product types en ja
4 Sum types en ja

Note about the Lean version

This uses Lean 3.4.2, even though the 'latest' version as of writing is Lean 4. This is because the docs for Lean 4 seem even more scarce than the docs for Lean 3, and I couldn't figure out how to do some stuff. In general, although Lean 4 is clearly the future, it seems like it's not totally ready for prime time yet. I'm excited for the future though!

About

A small programming language formally defined with a series of blog posts and Lean code.

https://azdavis.net/posts/define-pl-01

License:MIT License


Languages

Language:Lean 100.0%