-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Define base primitives for digital back-end #3
Comments
Comment by mtrberzi The primitives are probably going to be the following: Node types:
Connection types:
Port types:
|
Comment by lucaswoj 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 This was a rough outline, but I appreciate the feedback. I'll definitely pick better naming conventions in release, and update that comment accordingly. |
Comment by mtrberzi The reason wires and ports are called "digital" is because of potential namespace clashes with, for example, mixed-signal circuits that have both digital and microfluidic inputs and outputs. |
Comment by mtrberzi Okay, I will provide JSON type definitions for these. |
Issue by mtrberzi
Thursday Jul 03, 2014 at 16:37 GMT
Originally opened as manifold-lang/manifold#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).
The text was updated successfully, but these errors were encountered: