component Counter {
state counter = 0
fun increment { next { counter: counter + 1 } }
fun decrement { next { counter: counter - 1 } }
fun render {
<div>
<button onClick={decrement}>"Decrement"</button>
<span>counter</span>
<button onClick={increment}>"Increment"</button>
</div>
}
}
📔 Project Status
The project is in development, converging on 1.0. The syntax and and standard library are mostly stable.
At this point we are polishing the language and refactoring for more stability.
Here are some bigger projects built and maintained by us that showcases the language:
Mint Website - The website for the language. It has static content (documentation, blogs) and application like content (sandboxes).
Mint Realworld - The frontend implementation of the Realworld app.
use the language - this is the most helpful thing at this stage because we can discover bugs and missing features this way
documentation and website - the documentation always needs some work, if you discover that something is not documented or can be improved you can create a PR for it in the website repository
code review - the compiler can always use a thorough code review, also code reviews for PRs are welcome
standard library - the standard library can always use some contributions:
create modules for not yet implemented Web APIs (or a separate package)
a lot of modules like String, Dom, etc... are missing some features, you can add new functions here (with tests)
write a package - if you have a feature you use and can be moved into a package it can be good for other developers
marketing - write blog posts and such to help others become aware of the language
compiler - there are a few issues that could be fixed and features that can be implemented in the compiler