HN user

eiffel31

83 karma
Posts6
Comments15
View on HN

“Scientists have calculated that the chances of something so patently absurd actually existing are millions to one. But magicians have calculated that million-to-one chances crop up nine times out of ten.”

(The author is left as an exercise for the reader)

Python with Braces 2 years ago

You can (sort of) do all of that with the Eclipse Modeling Framework[0].

Your AST is what EMF calls a "model". By default the "backend" and ecosystem surrounding EMF is skewed towards Java for historical reasons, but there have been some prototypes with other languages as well. You can serialize your AST in any way you like, although by default it relies on XMI files. You can implement your own textual concrete syntax, or rely on a database. The EMF ecosystem has tools for implementing textual or "graphical" concrete syntaxes. You can combine them (e.g. usually a specific subset of your AST gets edited in a certain way that's best for your targetted end users). The ecosystem also has tools for performing comparisons and plugging them into your editing means.

Of course all of this tooling requires a lot more work than an LSP server.

[0] https://eclipse.dev/modeling/emf/

OK Doomer 6 years ago

You could try Natural Selection (the HL1 mod) if you like movement-based FPSs (with RTS elements in it).

How do you cope with syntax errors ? e.g. saving garbage tex as source code ? And reversely, can you have visual informations that can't be pretty-printed as text easily? (e.g. nodes without names)

How do you expect the visual syntax to integrate with VCSs? Do you have an algorithm and UI to present visual conflicts? How is the layout after a Git merge?

Cheers

Bose Hearphones 10 years ago

I regularly go to concerts as part of the audience, and also as part of a band. Getting ear-molded linear -15dB protections has been my best decision ever since I enjoy and practice music. I definitely recommend you give some a try.