Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #129 from matter-labs/development
Browse files Browse the repository at this point in the history
Release version 0.1.5
  • Loading branch information
hedgar2017 authored Apr 8, 2020
2 parents c34a01e + 833f5f5 commit 24d6cbd
Show file tree
Hide file tree
Showing 735 changed files with 21,867 additions and 15,542 deletions.
7 changes: 7 additions & 0 deletions .cargo/config
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
[target.x86_64-pc-windows-gnu]
linker = "x86_64-w64-mingw32-gcc"
ar = "x86_64-w64-mingw32-ar"
rustflags = [
"-C", "link-arg=-mwindows",
]

[target.x86_64-apple-darwin]
linker = "x86_64-apple-darwin14-clang"
ar = "x86_64-apple-darwin14-ar"
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

# Rust build
/target/
/osxcross/

# Book build
/zinc-book/build/
Expand All @@ -12,8 +13,6 @@
/zinc-examples/*/build/
/zinc-examples/*/data/

# Builds
# Other
*.tar.gz

# Mac
.DS_Store
24 changes: 23 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# The Zinc changelog

## Version 0.1.5 (2020-04-07)

#### Language

- forbidden the division operator `/`, but implemented `std::ff::invert` for `field` inversion
- allowed casting to types with lesser bitlength (runtime error on overflow)
- added the bitwise operators `|`, `|=`, `^`, `^=`, `&`, `&=`, `<<`, `<<=`, `>>`, `>>=`, `~` (constant expressions only)
- added the binary (e.g. `0b101010`) and octal (e.g. `0o52`) integer literals
- implemented match exhaustiveness checking without the binding or wildcard pattern
- removed `static` statements for global variables (use `const` instead)
- limited `match` scrutinee expression to boolean and integer only, since it is impossible to destructure complex types for now
- reserved some keywords (see [Appendix C](https://zinc.matterlabs.dev/appendix/C-keywords.html) of the Zinc book)

#### Compiler

- fixed the bug with `!` while passing a non-builtin function call as a built-in one's argument
- fixed the bug with duplicate match expression branches

#### Overall

- added a wrapper directory to the release archives to prevent tar- and zip-bombs

## Version 0.1.4 (2020-03-05)

#### Language
Expand All @@ -17,7 +39,7 @@

- implemented advanced errors with Rust-like formatting, hints, location pointers
- added constant overflow checking at compile-time
- the constant expression Euclidean division and remainder now works just like in VM
- the constant expression Euclidean division and remainder now work just like in VM

#### Virtual machine

Expand Down
Loading

0 comments on commit 24d6cbd

Please sign in to comment.