Skip to content

Major changes #45

@Victorious3

Description

@Victorious3
  • Remove get_item and set_item, instead do it like scala where arr(n) gets the nth element. This means adding an update function.
  • Allow juxtaposition of function arguments as top level expression: print "some string". This is related to the first point because it sidesteps an ambiguity with array indexing and literals.
  • Rework struct initializers #36
  • Add blocks (potentially evaluating to the last element)
  • Add lambdas
  • Remove the trailing colon in switch/case
  • Add tuples
  • change weak_ref to weak &

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions