benhj / arrow

An interpreted programming language
MIT License
23 stars 3 forks source link

Type expression to get type of var #12

Closed benhj closed 4 years ago

benhj commented 4 years ago

A non defined type should have nil.

E.g. get type of x and put result into res:

type(x) -> res;

If x is undefined, res could be nil

benhj commented 4 years ago

Done