Socket
Socket
Sign inDemoInstall

0ainterpreter

Package Overview
Dependencies
53
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    0ainterpreter

Basic node.js command line interpreter for a custom language.


Version published
Weekly downloads
151
decreased by-30.09%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

0a Interpreter

Note that 0aInterpreter is meant to be used as a CLI, if using from npm inside of a javascript file with require or import use buildLaunch() to create a batch file to launch 0aInterpreter. If launched from npm into a javascript file, use the run() function to run a command from your file. Note that configuration files, file loading, and custom commands are disabled if running by import and require.

If downloading from github, make sure you use the typescript compiler to compile the typescript files into javascript files. 0aInterpreter can be run from package/core/index.js after being compiled.

If downloading from npm, it is recommended that you run buildLaunch() and then use the generated batch file to run 0aInterpreter.

About

I tried to create a basic programming language interpreter for a simple language with little features and simple syntax.

Please note that I made this just for fun, and used it to learn more typescript than I already knew.

Currently Includes

  • Simple syntax
  • Easy to use custom function system
    • For more information on custom functions/commands, view the introduction guide.
  • Simple to understand configuration system for configuring permissions

License

The 0a Interpreter is licensed under the GNU Lesser General Public License v2.1 license. For more information of limits and permissions view the license page.

https://github.com/0aoq/0aInterpreter/blob/main/LICENSE

Keywords

FAQs

Last updated on 14 Jul 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc