Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Cesura authored Nov 15, 2018
1 parent 3435f57 commit f923e04
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,22 @@ etc. etc.

For a full list of commands supported by your current version of nxsh, type "help" in the prompt.

## Scripting

As of version 0.1.7 beta, nxsh supports scripting via an ECMAScript-compliant engine named duktape. You can execute scripts in the following way:
```
$ ./script_name.js
```

See examples/quadratic.js for an basic example script that works with the shell. As many of the more desirable JS features are non-standard and machine-dependent (such as file I/O), I am slowly but surely writing my own implementations of them.

## In Progress

Right now, I'm working on:
* Passing command line arguments to JS scripts
* Smoothing out general stability of the shell
* chmod and other basic coreutils
* Developing some sort of shell language for very basic scripting
* Executing other NROs from within the shell
* Any other requests you'd like to throw my way

## Bugs

Expand Down

0 comments on commit f923e04

Please sign in to comment.