mint

A refreshing programming language for the front-end web mint-lang language compiler programming-language compile-to-js
HEAD Latest release released
mint-lang/mint
4057 142 35
Mint

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

mint:
  github: mint-lang/mint
  
License BSD-3-Clause
Crystal ~> 1.7

Authors

  • Szikszai Gusztáv

Dependencies 5

  • admiral ~> 1.12.1
    {'github' => 'jwaldrip/admiral.cr', 'version' => '~> 1.12.1'}
  • ansi-escapes ~> 1.0.0
    {'github' => 'gtramontina/ansi-escapes.cr', 'version' => '~> 1.0.0'}
  • baked_file_system ~> 0.10.0
    {'github' => 'schovi/baked_file_system', 'version' => '~> 0.10.0'}
  • dotenv ~> 1.0.0
    {'github' => 'gdotdesign/cr-dotenv', 'version' => '~> 1.0.0'}
  • markd ~> 0.5.0
    {'github' => 'icyleaf/markd', 'version' => '~> 0.5.0'}

Development Dependencies 1

  • ameba ~> 1.6.1
    {'github' => 'crystal-ameba/ameba', 'version' => '~> 1.6.1'}

Dependents 0

Last synced .
search fire star recently