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

  1. create and run project with cli if possible
  2. type declaration person
  3. tagged union declaration if possible
  4. hello world
  5. creating type instance
  6. call function
  7. change instance field
  8. create function for type
  9. loop
  10. if
  11. switch/pm (on tagged union if possible)
  12. array/list/both
  13. hash map
  14. import from other file

Ready basics From ML to imperative or smth)