🖥️ Download Binaries 📄 Draft Spec ℹ️ Getting Started
Fe is moving fast. Read up on all the latest improvements.
WARNING: This is an alpha version to share the development progress with developers and enthusiasts. It is NOT yet intended to be used for anything serious. At this point Fe is missing a lot of features and has a lot of bugs instead.
This is the first alpha release and kicks off our release schedule which will be one release every month in the future. Since we have just started tracking progress on changes, the following list of changes is incomplete, but will appropriately document progress between releases from now on.
-
Added support for
for loop, allows iteration over static arrays. (#134) -
Enforce bounds on numeric literals in type constructors.
For instance calling
u8(1000)ori8(-250)will give an error because the literals1000and-250do not fit intou8ori8. (#145) -
Added builtin copying methods
clone()andto_mem()to reference types. (#155)usage:
# copy a segment of storage into memory and assign the new pointer my_mem_array = self.my_sto_array.to_mem() # copy a segment of memory into another segment of memory and assign the new pointer my_other_mem_array = my_mem_array.clone() -
Support emitting JSON ABI via
--emit abi. The default value of--emitis nowabi,bytecode. (#160) -
Ensure integer type constructor reject all expressions that aren't a numeric literal. For instance, previously the compiler would not reject the following code even though it could not be guaranteed that
valwould fit into anu16.pub def bar(val: u8) -> u16: return u16(val)Now such code is rejected and integer type constructor do only work with numeric literals such as
1or-3. (#163) -
Support for ABI decoding of all array type. (#172)
-
Support for value assignments in declaration.
Previously, this code would fail:
another_reference: u256[10] = my_arrayAs a workaround declaration and assignment could be split apart.
another_reference: u256[10] another_reference = my_arrayWith this change, the shorter declaration with assignment syntax is supported. (#173)