objectionary / eo

EOLANG, an Experimental Pure Object-Oriented Programming Language Based on 𝜑-calculus
https://www.eolang.org
MIT License
1.05k stars 133 forks source link

syntax suggar is not supported by Phi.g4 #3571

Closed yegor256 closed 1 day ago

yegor256 commented 3 days ago

I'm trying to add this to all-the-basics.phi and the build fails in eo-parser:

  primitives ↦ ⟦
    string ↦ "hello, друг!",
    int ↦ 42,
    float ↦ 3.14
  ⟧,

Would be great if we can support this syntax. Moreover, we should use it when printing XMIR to PHI too.

yegor256 commented 3 days ago

@maxonfjvipon this is your, please help

maxonfjvipon commented 1 day ago

@yegor256 still an issue?

yegor256 commented 1 day ago

@maxonfjvipon fixed, thanks!