This is a demo application of the MathJSLab npm package (repository), an emulator of a subset of the MATLAB®/Octave language written completely in TypeScript. This application is intended for educational purposes. See the notes below for detailed information.

Important Notice: This software, the MathJSLab, is not affiliated, sponsored, or endorsed by The MathWorks, Inc. MATLAB® is a registered trademark of The MathWorks, Inc. For more information about MATLAB, visit www.mathworks.com.



logo

MathJSLab - mathjslab.com

Netlify Status CircleCI Website GitHub Created At MIT License DOI ISBN OpenAIRE jsDelivr hits

An interpreter with language syntax like MATLAB®/Octave written in TypeScript.

ISBN 978-65-00-84828-1

This is a demo application of MathJSLab npm package. See this demo on the project page at mathjslab.com. The repository is in the MathJSLab Organization on GitHub.

Important Notice: This software, the MathJSLab, is not affiliated, sponsored, or endorsed by The MathWorks, Inc. MATLAB® is a registered trademark of The MathWorks, Inc. For more information about MATLAB, visit www.mathworks.com.

This application, developed as a Progressive Web App (PWA), demonstrates the capabilities of the MathJSLab package in a modern and interactive environment. The application's interface is structured with Web Components, ensuring modularity, encapsulation, and efficient reuse of visual elements, which simplifies maintenance and enhances project scalability. In addition, the application adopts a responsive design, providing a consistent experience, regardless of the device used, allowing it to adapt to different screen sizes without compromising usability.

The application's logic is written in TypeScript, ensuring uniform and standardized typing across all parts of the code. Styling is managed through SASS templates, with definitions in a more rationalized and modular way, facilitating the customization, maintenance and code reuse easier.

This demo application also uses:

Contributing

To contribute to this project see our contributing guidelines.

Join the community chat:

Join the chat at https://matrix.to/#/#mathjslab:gitter.im

Build scripts

The following build scripts are defined:

  1. Before building mathjslab-app, to initialize the project workspace, run:
npm run update

This will update the dependencies and install all of them, preparing any resources needed to build the project.

  1. Format and lint mathjslab-app code:
npm run format:lint
  1. Build mathjslab-app in development mode:
npm run build:dev
  1. Build mathjslab-app in debug mode:
npm run build:debug
  1. Build mathjslab-app in production mode:
npm run build:prod
  1. To cleanup all build files in workspace use:
npm run clean
  1. To delete dependencies, the package-lock.json file and node_modules directory too, use:
npm run clean:all

After run this command you will need to do workspace setup running npm run update again.

Community

Join the community chat:

Join the chat at https://matrix.to/#/#mathjslab:gitter.im

Trademark Notes

License

MIT License

Copyright © 2016-2024 Sergio Lindau, mathjslab.com, ISBN 978-65-00-84828-1

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.