Adept 2.5
Adept 2.5 has been released
Freshly updated documentation is available at https://github.com/AdeptLanguage/Adept/wiki
Changes since Adept 2.4
Language:
- Removed
using namespace
- Now supports new macOS M1 chip arm64 architecture
- Added support for anonymous structs/unions
- Added support for anonymous structs/unions as unnamed fields
- Added
typenameof $T
expression - Added
embed "filename.txt"
expression - Added ability to rename
idx
inrepeat
loops viausing my_idx
- Added null
ubyte
literal'\0'ub
- Added support for chained methods as statements -
thing1().thing2().thing3()
- Completed runtime type information for complex composite types
- Added new transcendent variables
__compiler_major__
,__compiler_minor__
,__compiler_release__
, and__compiler_version_name__
- Changed
__compiler_version__
to be a number instead of a string (__compiler_version_name__
now exists for string version) - Added
alignof Type
expression - Package manager now included
- Lots of bug fixes
Standard Library:
- Fixed an issue with
2.x/captain.adept
on HDPI displays. Solution was back-ported to earlier versions - Fixed an issue in
2.4/aabb.adept
- Added more math definitions in
2.5/cmath.adept
- Changed
2.5/*
to use newtypenameof $T
expression instead of RTTI when possible - Added
unix/sys/time.adept
- Added new helper functions in
2.5/captain.adept
- Added new method
clone(this *<*$P> List) <*$P> List
in2.5/List.adept
- Added basic JSON parser
2.5/JSON.adept
- Added more functionality for
2.5/Matrix4f.adept
and2.5/Vector3f.adept
- Fixed an issue in
2.x/Optional.adept
- Added stuff to
stb/image.adept
- Added unique pointer type
2.5/Unique.adept
- Added generic grid data-structure
2.5/Grid.adept
- Added new user utility functions for
2.5/captain.adept
- Added native libraries for Mach-O arm64
- Added experimental WebAssembly target
- Added new method
join(this *<String> List) String
to2.5/parse.adept
- Added meta variables
__arm64__
,__x86_64__
, and__wasm__
- Upgraded warning guard in
sys/cfloat.adept
Adept 2.5 also supports backwards-compatibility with most programs written in Adept 2.0 through Adept 2.4.