Open mtrberzi opened 10 years ago
Comment by mtrberzi Thursday Jul 03, 2014 at 22:46 GMT
The primitives are probably going to be the following:
Node types:
Connection types:
Port types:
Comment by lucaswoj Friday Jul 04, 2014 at 14:31 GMT
I'm ok with everything except the exact of these primitives. At the risk of sounding pedantic, all the abbreviations and different naming conventions make this look bad.
A few high level points:
Comment by mtrberzi Friday Jul 04, 2014 at 14:42 GMT
This was a rough outline, but I appreciate the feedback. I'll definitely pick better naming conventions in release, and update that comment accordingly.
Issue by mtrberzi Thursday Jul 03, 2014 at 16:37 GMT Originally opened as https://github.com/manifold-lang/manifold/issues/117
One point of contention will be how to represent these primitives in a way that the front-end can understand and that is compatible with how schematics are read.
I support keeping these separate from the back-end, in a JSON file similar to the schematic but that only defines node types/connection types/etc. The back-end would have a "hard-coded" representation of the types that it expects to see (and this could -- very possibly but not necessarily for our final demo -- result in automatic generation of this JSON file).