VSCode Extension for Computation Structures Courseware (jsim, tmsim, bsim)
This repository hosts a Visual Studio Code extension with rich language support for the courseware used in the (labs of) Computation Structures module (both MIT 6.004 and SUTD 50.002): jsim, tmsim and bsim.
These tools were originally developed by MIT:
Currently available features:
Features in the works:
You can request for more features by submitting an issue!
Feel free to also contribute via submitting a pull request! For contributors, please check the included tool documentations in the
This section will describe any requirements and dependencies for this extension, as well as how to install and configure them for this extension to work properly.
Currently, only Microsoft Visual Studio Code (or its vendor-neutral open-source alternatives) is needed to run this extension. As more features are added to this extension, more requirements might be needed in the future, so do keep a lookout!
The extension contributes the following settings (configuration):
This section will call out known issues to help limit users opening duplicate issues against this extension.
JSim Continuation Lines Detection Issue
Multiline detection which spans across newline characters (and indicated by lines starting with the character
Syntax Highlighting for Negative Numbers
More work needs to be done since attempts of using regular expressions to syntax-highlight negative numbers (i.e. including the hyphens) did not work as intended.
Here are some available useful resources (such as syntax highlighting for other editors and official MIT source code for JSim, BSim and TMSim online editors):