Skip to content

Latest commit

 

History

History
46 lines (34 loc) · 1.27 KB

README.md

File metadata and controls

46 lines (34 loc) · 1.27 KB

GitHub License Pub Version Discord Shield

The pint° (/pĩntʊ/) programming language.

Warning

The pint° programming language is still in very early development stage, and is not recommended for use in production software. Use at your own risk.

The pint° programming language is a language that compiles to Dart.

It has the following objectives:

  • Have seamless interoperability with Dart;
  • Consider Flutter as first-class;
  • Generate reasonably readable and efficient Dart code;
  • Be terser and more expressive than Dart;
  • Provide a powerful macro system with great ergonomy.
import @async

let name = "pint°"
let isTheBestLanguage = true

type Complex(T) = Complex(
  [] listOfAny,
  [T] listOfT,
  {T} set,
  {T: T} map,
  T? maybeT,
  Future(T) futureOfT,
  int aSimpleInt,
  {{T?} : [Future(T)]} aMonster
)

let main _ =
  print "Hello, world!"  

You can get started with the language by reading the documentation.