/LabVIEW-Script-Language

Developing a platform to develop scripts, compile and execute it in the LabVIEW development or run time environment

Primary LanguageLabVIEWMIT LicenseMIT

LabVIEW-Script-Interpreter

This is a pet project done for fun to create a plugin-based script interpreter natively on LabVIEW. Simply, this LabVIEW script interpreter can read in lines of text and do actions. Each line is a function and the interpreter knows to execute them based on the definition that we have provided. By default, there are functions already developed that are most commonly used like Arithmetic, Logical, String, Array, if statements, for statements, popups, printing to console, and in fact comments. All as a LabVIEW plugin. You can customize them however you wanted (modify the existing function behavior) or add new functions. (The default scripts resemble the python syntax format)

LabVIEW Script Interpreter Capablities (This project is not complete)

  1. LabVIEW based interpreter to understand the scripts based on the plugins and execute them
  2. Bunch of plugin builtin to do basic data manipulation, flow control and few more
  3. Ability for users to create a custom plugin and load it through factory pattern
  4. Examples to demonstrate different use cases

Software Dependency

NI LabVIEW 2019 (Github project is maintained in 2019 but can be used on higher version as well) LabVIEW addons:

  1. OpenG
  2. JKI state machine for examples

Building

To be updated

Contributing

This is managed via git. LabVIEW Script Interpreter follows a pull-request model for development. If you wish to contribute, you will need to create a GitHub account, fork this project, push a branch with your changes to your project, and then submit a pull request.

Please remember to sign off your commits (e.g., by using git commit -s if you are using the command line client). This amends your git commit message with a line of the form Signed-off-by: Name Lastname name.lastmail@emailaddress.com. Please include all authors of any given commit into the commit message with a Signed-off-by line. This indicates that you have read and signed the Developer Certificate of Origin (see below) and are able to legally submit your code to this repository.

See GitHub's official documentation for more details.

Questions and Answers

Please post your questions in the Issue tab. Pranay or Navin will respond to you.

Blog: labview-script-interpreter/