Skip to content

catch missing ^ references #13

@yegor256

Description

@yegor256

Here is the code:

[] > foo
  [] > bar
    ^.hello > @

Obviously, this code has an error, because hello is not present in the foo object. We can detect this problem statically.

Here is a more complex example:

[] > foo
  "yes" > message
  [] > bar
    while
      [i] >>
        if.
          i.lt 5
          QQ.io.stdout
            ^.^.messageeee   # typo here!
          true
      true > [i]

We can detect this typo, I believe.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions