anoma / juvix

A language for intent-centric and declarative decentralised applications
https://docs.juvix.org
GNU General Public License v3.0
454 stars 53 forks source link

Write an Anoma App Juvix tutorial #3080

Open lukaszcz opened 1 month ago

lukaszcz commented 1 month ago

The existing tutorial focuses on introducing functional programming concepts with Juvix. There should also be a tutorial focused on introducing Juvix from the perspective of building an Anoma App.

mauricewbr commented 1 month ago

Whoever decides to work on this, please get in touch as @heueristik, @heindel, and I are working on similar documentation on the Anoma side

lukaszcz commented 1 month ago

There should probably be just one such tutorial. Perhaps long-term we should merge our separate Juvix documentation site into general Anoma documentation.

mauricewbr commented 4 weeks ago

Agreed that there probably should be one such tutorial. I'm personally a bit torn on whether the DSL should have its own documentation or not. There are different paths other projects seem to have chosen. Whereas Sway (Fuel Network) has its own docs but also an exhaustive section on the Fuel docs, the Move language has chosen to seize the Move documentation and pass it on to the projects (Sui and Aptos) as you can see here. Happy to discuss further.

lukaszcz commented 2 days ago

What is the progress on the Anoma App Juvix tutorial? Is it available somewhere?

I intend to write a short tutorial "Basic Juvix Language" which would explain the essential Juvix language features used in writing Anoma Apps, without going too deep into the language but only presenting the most basic features from a language perspective (defining records, functions, variables, function calls with named application and without, record creation and update, iterators). This tutorial would replace our current tutorial, which would be renamed to "Functional Programming with Juvix" or so, reformulated a bit, and marked as more "advanced".