Lang-by-example
Lang-by-example
I will store all basic examples of lang features which I often use.
it's something like learnXinYminutes, but with more complex examples like rest or a detailed analysis of the type system features.
I prefer less well-known languages.
If you want to add your language, feel free to do PR ^^
Basic
My new idea to make the same 13 examples in each language, they will be located in the basic
folder
- create and run project with cli if possible
- type declaration person
- tagged union declaration if possible
- hello world
- creating type instance
- call function
- change instance field
- create function for type
- loop
- if
- switch/pm (on tagged union if possible)
- array/list/both
- hash map
- import from other file
Ready basics From ML to imperative or smth)
Repository
Lang-by-example
Owner
Statistic
- 7
- 0
- 1
- 0
- 0
- 10 months ago
- November 10, 2021
License
Links
Synced at
Sun, 17 Nov 2024 03:33:37 GMT
Languages