v icon indicating copy to clipboard operation
v copied to clipboard

v.eval: support of more expressions/statements

Open StunxFS opened this issue 3 years ago • 0 comments

This PR adds support for more expressions/statements:

  • Support options.

Statements:

  • ForCStmt: for i := 0; i < 10; i++ { println(i) }

Expressions:

  • Comptime if.
  • !, && and || boolean operators.
  • unsafe blocks.
  • nil value.
  • none value.
  • dump expr.
  • AtExprs, @FILE, etc.

Functions:

  • exit and print_backtrace.

StunxFS avatar Oct 27 '22 14:10 StunxFS