2022-09-13: Fuzion September Update
Hi,
Here is this month's update:
Mostly language cleanup, removing old syntax for generics
using </>, removing lambda declarations
using fun, adding syntax for tuple types, etc.
- Fuzion language
- tuple types now can be using
(A,B,C)syntax, e.g.,triple(T type, v T) (T,T,T) is (v,v,v)is equivalent totriple(T type, v T) tuple T T T is (v,v,v) - function types and lambda expressions can no longer be declared using
the
funkeyword, but syntax like(i32, bool) -> stringor(x,y) -> x + y*3 - Fuzion grammar cleanup: new rule
actualfor actual arguments, which could be an expression for a value argument or a type for a type argument - Cleanup and simplification in indentation rules for actual arguments and cases in a match-expression.
- ASCII control codes
HT,VT,FFand strayCRare now rejected in the source code.
- tuple types now can be using
- base library
- support for file I/O: adding
exists,delete,move,create_dir, etc. - added
ctriehash tries. - added
asciifor ASCII control codes. - generally replace generics using
</>by type parameters. - improved syntax of type-expressions: Now using
(list i32).typeinstead of the awkwardlist i32 .type. Same for.env. - added
cacheeffect to allow a simple caching of results.
- support for file I/O: adding
- tests
- Added
tests/indentation/indentationandtests/indentation_negative/indentation_negativeto illustrate and check Fuzion's indentation rules for code blocks and arguments.
- Added
- benchmarks
- updated to use new syntax for type parameters instead of generics using
</>
- updated to use new syntax for type parameters instead of generics using
- language server extension
- v0.78.1 fixes vast memory usage
- fuziondoc
- updated to use new syntax for type parameters instead of generics using
</>
- updated to use new syntax for type parameters instead of generics using
- general
- New tokiwa.software website went online.
-
Tokiwa will present Fuzion at this month's Bits & Pretzels Founders Festival!
Meet us in Munich on Monday, September 26
Cluster: Security & Identity
Booth number: ST39
Cheers,
--Fridtjof.