1. 6

  2. 1

    This seems much more complicated than what languages like Haskell and Ocaml give one, which is a way to express functions as infix and association. It limits what one can do, so maybe that is where something like OMeta shines, but I’m not sure subclassing is the best way to go about this.

    1. 3

      When it came out, I followed OMeta pretty closely, as I thought it was a truly interesting project. Unfortunately, it never really took off or gained any real traction. I think part of this is due to the sheer complexity of implementing parsers for real programming languages.

      I wanted to extend a Python grammar add Warth’s “Worlds” to Python, which is something that he extended JavaScript to do via OMeta. But, because there wasn’t a complete OMeta grammar for Python, it was impossible for me to do it without first developing one. Given this was a “hack” at best, I choose to not. I ended up with this instead.