A modern, multi-paradigm programming language.
Project description
Asteroid
Asteroid is a modern, multi-paradigm programming language that supports first-class patterns. More details can be found at the website asteroid-lang.org. Documentation on Asteroid can be found at asteroid-lang.readthedocs.io.
New in Release 1.1.4
-
Allows pattern constraint operator to map certain variables that a pattern matched to be bound into the current scope.
-
Supports a new OS module.
-
Supports iteration over tuple components
-
The
eval
function has been extended to strings for the interpretation of Asteroid programs in those strings. -
Structures now support a
__str__
member function that allows the user to specify a string representation of the structure. -
Updated user and reference guides.
-
Lots of bug fixes.
New in Release 1.1.3
-
Fixes a fatal bug on Windows regarding the
readline
functionality in Python 3.10. -
Fixes a bug with escaped double quotes in strings.
New in Release 1.1.2
-
An experimental implementation of an interactive debugger that supports debugging pattern matching and in particular, pattern matching with first-class patterns.
-
A Python API allowing the developer to call the Asteroid interpreter from within a Python program and also embed Python code in an Asteroid program.
-
Eliminated the
stride
notation in list comprehensions and replaced it with thestep
notation. -
Lots of bug fixes.
New in Release 1.0.0
-
Interpreter line-editing features similar to Python include interactive editing, history substitution and code completion on systems that support the GNU Readline library.
-
New object-based modules for system modules. For example the functions within the
io
module are now accessed with the@
operator,load system io. io @println "Hello, World!".
-
In the absence of explicit return statements the last expression evaluated within a function body provides an implicit return value, e.g.,
function inc with i do i+1 end
-
Lots of bug fixes!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for asteroid_lang-1.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17fc7dfbeae9ef0e6b617579ca4cbd1d172342807105859eb1ab4cff25b532be |
|
MD5 | ef49a4485e0b749aea1c57b79c8b07b3 |
|
BLAKE2b-256 | c1bd403b74f4cb425072de67a26c72005efe99b6acaccf0beacefa60f49a18da |