Skip to content

mint-lang/mint

Repository files navigation

A refreshing programming language for the front-end web.

CI Discord Backers on Open Collective Sponsors on Open Collective

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.
  • Mint UI - A UI library written in Mint.
  • Mint UI Website - The website for Mint UI.
  • Your Project - let us know if you writter something amazing with Mint and would like to showcase here!

👥  Community

Questions or suggestions? Ask on Discord. Also, visit Awesome Mint, to see more guides, tutorials and examples.

👷  Contributing

Read the general Contributing guide.

Ways you can contribute

  • 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

ℹ️  Questions, Proposals?

Let's discuss in the Github Discussions, otherwise please create at new issue