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 ^^
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)