Here you can find a bunch of tutorials that you can follow step by step to comprehend how Ya helps control complexity.
All available tutorials
- Stack machine interpeter - 1: first steps
- Command line task manager - 1: getting started
- Command line task manager - 2: more advanced structure
- Command line task manager - 3: scrolling up and down
- Command line task manager - 4: introducing task statuses
- Command line task manager - 5: switching task statuses
- Command line task manager - 6: introducing subtasks
- Battleship player agent - 1: one-dimension space
- Battleship player agent - 2: probability distribution
- Battleship player agent - 3: getting context of surroundings
- Trapping rain water - 1: two dimensions
- Balancing brackets - 1: opened and closed ones
- Balancing brackets - 2: introducing bracket shapes
- Balancing brackets - 3: arbitrary code pieces
- Balancing brackets - 4: better error reports
How to run it by yourself
If you are not familiar with Haskell
and Cabal
follow these steps to run tutorials below by yourself:
- Clone
ya
,ya-ascii
,ya-console
,ya-expo
repos to the same directory. - Install the latest version of a font on your machine.
- Chose
Kodama
font in Visual Studio Code settings. - Go to
ya-expo
repo and runcabal build && cabal exec <...>
- but executable name in a placeholder. - You can see a list of executables in
ya-expo.cabal
file.
You can look inside ya-expo.cabal file to see other available executables.