🐍 The Mamba programming language, because we care about safety
__getitem__
magic method (#438)String
to Str
(#435)handle
(#423)raises
(#420)isa
now properly expects an identifier, which identifies a class #391ABC
in Python (Abstract Base Class)None
is treated as a special class, not as a special keyword+=
, -=
, *=
, /=
, ^=
, <<=
, >>=
/=
-> !=
self
fields can only be used if assigned to first.a.b.c.
...Range
and Slice
to the language
expression ( .. | ..= ) expression [ .. expression]
expression ( :: | ::= ) expression [ :: expression ]
Note that unlike Python, we use ::
instead of :
to separate single arguments to the slice.v0.3.1 has been been published as a crate.
private
token from languageA few language features have been removed, these will be re-added as time goes along:
retry
keyword from the languageWe have a first basic version of the type checker:
?or
from language, which is almost identical to ?
__iter()__
methodundefined
representing null
, or None
in Python. This is done in a similar fashion to Kotlin, and is baked into the type checker. We opted to not use an Optional
type solution, as this makes code slightly too verbose for our purposesNote we have used the nightly TryFrom
feature of Rust. So to build the project, you need the nightly version of Rustc.