Obsolete /
AccessorJS(redirected from Notes.AccessorJS) AccessorJS is no longer maintained, see Node Host for a maintained Node JavaScript Accessor Host. In order to compose and run Accessors in a ECMAScript environment, the AccessorJS library is being developed. Specifically, using this library, Accessors can be loaded in a ubiquitously available browser or into the flexible NodeJs environment, which can be run even on a small embedded platform. For the current state of AccessorJS development go to the AccessorJSDevelopment page. To check out the repository, use: git clone https://repo.eecs.berkeley.edu/git-anon/users/shaver/AccessorJS.git The above repository is readable to anyone. Note that the repo is not particularly accessible using a web browser, so viewing the URL in a browser probably won't work. Please take a look. Let Chris Shaver , <shaver@eecs.berkeley.edu>, know if you would like to work on this and he will add you to the repo as a committer. At the moment, there is only one person actively developing this library (guess who). Nevertheless, it can currently be used to parse and load Accessors, instantiate them, build models out of them, and run these models with a basic synchronous MoC. At the moment, have set up the library to load Accessors from the local file system in Node. Loading them from the internet is certainly no obstacle, but I have not updated that code for the moment to reflect other changes made in the codebase. In general, the formulation of Accessors in the library is out of sync with the Ptolemy II implementation. However, given a little more time, this gap can be closed without much trouble. Details about how some of this is done can be found in the testing.js file in the main directory of the repository. Testing InstructionsTo run the AccessorJS code
Development - ProjectWe should be able to experiment with this library during the Terraswarm Programming Workshop on May 27-29th as a workshop project. The following is in place so far:
More details to come!
|