Skip to content
This repository has been archived by the owner on Oct 7, 2021. It is now read-only.

Triquetrum Command Language #190

Open
rtotaro opened this issue Dec 14, 2016 · 7 comments
Open

Triquetrum Command Language #190

rtotaro opened this issue Dec 14, 2016 · 7 comments

Comments

@rtotaro
Copy link

rtotaro commented Dec 14, 2016

A command language to create model as described in the following document could be useful for making faster writing big models

TriquetrumCommandlanguage.docx

@erwindl0
Copy link
Contributor

Great suggestion.

Going for a command language i.o. a plain representation of a model hierarchy is an interesting approach that could map nicely to Ptolemy II's ChangeRequests and undo stacks etc.

@cxbrooks
Copy link
Contributor

I put some notes at https://wiki.eclipse.org/Triquetrum/Xtext and a link to this issue. Below are the notes:

Hallvard Traetteberg visited the Ptolemy group in 2012-2013 and did a first cut of creating Ptolemy II OSGi bundles. Hallvard also developed some Xtext work, see https://github.com/hallvard/ptolemy. Hallvard has not been using Ptolemy much recently, but his work is there.

Ptcl was a TCL-based language for Ptolemy Classic. The ptcl manual might be of use to help define some of the Xtext commands. For example, both will need to connect ports from an outer composite to an inner composite.

rtotaro pushed a commit to rtotaro/triquetrum that referenced this issue Dec 16, 2016
rtotaro pushed a commit to rtotaro/triquetrum that referenced this issue Dec 16, 2016
rtotaro pushed a commit to rtotaro/triquetrum that referenced this issue Dec 16, 2016
rtotaro pushed a commit to rtotaro/triquetrum that referenced this issue Dec 16, 2016
rtotaro pushed a commit to rtotaro/triquetrum that referenced this issue Dec 16, 2016
rtotaro pushed a commit to rtotaro/triquetrum that referenced this issue Dec 16, 2016
rtotaro pushed a commit to rtotaro/triquetrum that referenced this issue Dec 16, 2016
rtotaro pushed a commit to rtotaro/triquetrum that referenced this issue Dec 17, 2016
rtotaro pushed a commit to rtotaro/triquetrum that referenced this issue Dec 17, 2016
rtotaro pushed a commit to rtotaro/triquetrum that referenced this issue Dec 17, 2016
rtotaro pushed a commit to rtotaro/triquetrum that referenced this issue Dec 17, 2016
rtotaro pushed a commit to rtotaro/triquetrum that referenced this issue Dec 17, 2016
rtotaro pushed a commit to rtotaro/triquetrum that referenced this issue Dec 17, 2016
rtotaro pushed a commit to rtotaro/triquetrum that referenced this issue Dec 17, 2016
@cxbrooks
Copy link
Contributor

The status of this issue is that Rodolfo forked the triquetrum repo to
https://github.com/rtotaro/triquetrum.git and added a branch with his work.

Rodolfo, Erwin and I had a teleconference where Rodolfo demonstrated being able to create and connect actors and to modify an existing model.

A proposed name is Tqcl for TriQuetrum Command Language.

During the call, we agreed that the Ptcl syntax is very Ptolemy Classic-specific and should be used only as a rough guide.

The next steps are:

  1. Erwin will work with Rodolfo on getting his code into the the master.
  2. Erwin will work with Rodofo on getting Rodolfo committer status on the Triquetrum project
  3. Rodolfo will work on extending the language to support a flat model such as what is in http://wiki.eclipse.org/Triquetrum/Opening_A_Model.
  4. A future task would be for Christopher to create a Ptolemy II code generator that would read MoML files and generate Tqcl output. We could eventually use this for round trip testing, where we read in MoML files, generate Tqcl output, then read the Tqcl and run the model.
  5. Future work would include supporting hierarchy
  6. Future work would include support actor oriented classes, see Bug Support for Actor Oriented Classes #78
  7. Future work could include recording the steps a user makes while using a GUI for later playback.

rtotaro added a commit to rtotaro/triquetrum that referenced this issue Dec 20, 2016
rtotaro added a commit to rtotaro/triquetrum that referenced this issue Dec 23, 2016
rtotaro added a commit to rtotaro/triquetrum that referenced this issue Dec 30, 2016
rtotaro added a commit to rtotaro/triquetrum that referenced this issue Dec 31, 2016
rtotaro added a commit to rtotaro/triquetrum that referenced this issue Jan 4, 2017
rtotaro added a commit to rtotaro/triquetrum that referenced this issue Jan 4, 2017
rtotaro added a commit to rtotaro/triquetrum that referenced this issue Jan 6, 2017
rtotaro added a commit to rtotaro/triquetrum that referenced this issue Jan 6, 2017
rtotaro added a commit to rtotaro/triquetrum that referenced this issue Jan 7, 2017
rtotaro added a commit to rtotaro/triquetrum that referenced this issue Jan 8, 2017
rtotaro added a commit to rtotaro/triquetrum that referenced this issue Jan 8, 2017
rtotaro added a commit to rtotaro/triquetrum that referenced this issue Jan 14, 2017
rtotaro added a commit to rtotaro/triquetrum that referenced this issue Jan 14, 2017
rtotaro added a commit to rtotaro/triquetrum that referenced this issue Jan 15, 2017
rtotaro added a commit to rtotaro/triquetrum that referenced this issue Jan 15, 2017
rtotaro added a commit to rtotaro/triquetrum that referenced this issue Jan 16, 2017
rtotaro added a commit to rtotaro/triquetrum that referenced this issue Jan 18, 2017
rtotaro added a commit to rtotaro/triquetrum that referenced this issue Jan 18, 2017
rtotaro added a commit to rtotaro/triquetrum that referenced this issue Jan 19, 2017
rtotaro added a commit to rtotaro/triquetrum that referenced this issue Jan 24, 2017
rtotaro added a commit to rtotaro/triquetrum that referenced this issue Jan 27, 2017
rtotaro added a commit to rtotaro/triquetrum that referenced this issue Jan 27, 2017
rtotaro pushed a commit to rtotaro/triquetrum that referenced this issue Feb 13, 2017
rtotaro added a commit to rtotaro/triquetrum that referenced this issue Feb 13, 2017
rtotaro added a commit to rtotaro/triquetrum that referenced this issue Feb 13, 2017
rtotaro pushed a commit to rtotaro/triquetrum that referenced this issue Feb 13, 2017
rtotaro added a commit to rtotaro/triquetrum that referenced this issue Feb 13, 2017
rtotaro added a commit to rtotaro/triquetrum that referenced this issue Feb 13, 2017
rtotaro added a commit to rtotaro/triquetrum that referenced this issue Feb 14, 2017
rtotaro added a commit to rtotaro/triquetrum that referenced this issue Feb 14, 2017
rtotaro added a commit to rtotaro/triquetrum that referenced this issue Feb 16, 2017
@cxbrooks
Copy link
Contributor

After our call today, we decided that Rodolfo will create a pull request and Erwin will merge it in.
Other possible action items before closing this issue:

@rtotaro
Copy link
Author

rtotaro commented Feb 20, 2017 via email

@cxbrooks
Copy link
Contributor

Here's another activity that should be considered before closing this issue:

  • We are using .tpd files to create .target files, see [Triquetrum/Target Platform Definition](Triquetrum/Target Platform Definition): Add a org.eclipse.triquetrum.target.platform/org.eclipse.triquetrum.commants.xtext.tpd file

rtotaro added a commit that referenced this issue Feb 21, 2017
@rtotaro
Copy link
Author

rtotaro commented Feb 21, 2017 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants