Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SCIL-25: Update of control flow, native bool support, documentation #250

Merged
merged 31 commits into from
Nov 3, 2023

Conversation

troelsfr
Copy link
Contributor

@troelsfr troelsfr commented Oct 27, 2023

This PR introduces a bunch of updates. Those includes native bool support (EVM comapitble as opposed to used defined bools which are not EVM compatible) type deduction, introduction of wildcards in match statement and improved symbols.

scilla_version 0

library HelloWorld

contract HelloWorld()

transition setHello (msg: Uint64)
  address = 0x0012;
  test = Uint64 42;
  is_owner = builtin eq msg test;
  test2 = False;
  is_false = builtin eq test2 is_owner;
  match is_false with
  | True =>
    msg = "The values were different";
    print msg
  | _ =>
    msg = "The values were equal";
    print msg
  end
end

Further, this PR fixes many warnings, removes unused code and adds additional documentation.

@troelsfr troelsfr changed the title Feature/scil update SCIL-25: Update of control flow, native bool support, documentation Nov 1, 2023
@troelsfr troelsfr marked this pull request as ready for review November 1, 2023 09:17
products/bluebell/README.md Outdated Show resolved Hide resolved
products/bluebell/README.md Outdated Show resolved Hide resolved
troelsfr and others added 2 commits November 3, 2023 11:31
Co-authored-by: Mark T. B. Carroll <[email protected]>
Co-authored-by: Mark T. B. Carroll <[email protected]>
@troelsfr troelsfr merged commit 9fe46cc into main Nov 3, 2023
6 checks passed
@troelsfr troelsfr deleted the feature/scil-update branch November 3, 2023 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants