polystat / odin

Object Dependency Inspector
10 stars 2 forks source link

Multiline attribute access is not supported #18

Open nikololiahim opened 2 years ago

nikololiahim commented 2 years ago

The following example from the paper is not recognized by the parser:

dx.pow 2
  .add
    dy.pow 2
  .sqrt > length
fizruk commented 2 years ago

I think J2EO and C2EO do not rely on named arguments, so we can, probably, ignore this syntaxes safely. @Leosimetti please update documentation of odin, mentioning that we do not support this syntax. When documentation is updated, we can close this issue.