Hacker Newsnew | past | comments | ask | show | jobs | submit | eiffel31's commentslogin

This reminds of some commercial products (Famileo comes to mind). I don't know of any open source or self-hostable version of this type of product.


“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)


It exists, it's called MBSE. Look up tools that support this approach.


Code is as much Text as Vector graphics is Text.

Sure it's an intuitive way of representing your data. Is it the most appropriate though? See an example [0] about using Projectional Editing in order to use mathematical notations for formulas.

[0]: http://voelter.de/data/pub/gemoc2014-voelterLisson-MPSNotati...


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/


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


Neither the JVM nor the Java specifications impose restrictions on this, so theoretically I'd say it's possible.


> class A(b: B) : B by b // IS_A via composition

I couldn't find the "B by b" syntax from the Kotlin docs, can you tell me that this does ?


It's delegation.

Look at page 96 of this PDF file: https://kotlinlang.org/docs/kotlin-docs.pdf


Thank you, wish Java had this :'(


For DSLs, although the tools mentioned can be used for GPLs, see DSL Engineering: http://voelter.de/data/books/markusvoelter-dslengineering-1....


Have you considered looking at full-spectrum lights which may have some influence on your symptoms? Did you health check include Vitamin D check?


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: