Releases
0.1.24
A new parser/generator built on top of an AST that simplifies code greatly and allows to implement new
backends much faster.
Sum types (type Expr = IfExpr | MatchExpr | IntegerLiteral
).
B-tree map (sped up the V compiler by ~10%).
v fmt -w
.
The entire code base has been formatted with vfmt.
Generic structs.
SDL module.
Arrays of pointers.
os: is_link()
, is_dir()
, exists()
.
Ranging through fixed size arrays.
Lots of fixes in ORM and vweb.
The first tutorial: building a simple web application with vweb .
Match expressions now must be exhaustive.
freestanding: malloc()
/free()
.
++
is now required instead of += 1
for consistency.
Interpolated strings now allow function calls: println('val = $get_val()')
.
string.replace_each([])
for an efficient replacement of multiple values.
More utf8 helper functions.
-prealloc
option for block allocations.
type
aliases.
Running v
with an unknown command will result in an error.
atof
implementation in pure V.
Enums can now have negative values.
New filepath
module.
math.factorial
.
ftp
module.
New syntax for casting: val as Type
.
Fewer libc functions used (soon V will have no dependency on libc).
You can’t perform that action at this time.