半成品
来自学习机时代的项目,最初在Termux上编写,目前开发已停滞,半年后可能会继续
(以下为正文)
Welcome to the home of ES Shell, an interactive shell that uses ECMAScript syntax.
- Install libquickjs, libreadline-dev.
- Edit
build.shto match your architecture. - Run
build.shto build, requires g++.
Run help()
- Added flag: --help
- Added the $Env object, gives access to env vars (currently readonly).
- Changed the behavior of __callExternal.
- Removed builtin command: pwd
- Added internal command: $
- Trailing blank line will be automatically removed if exists.
- Added non-visible builtin command: __callExternal
- Empty input will now be skipped.
- Command return value will no longer be printed when it is 0.
- Added builtin command: help
- External commands that can be ECMAScript identifiers are now available as global functions.
- Added builtin command: pwd
- Changed project name to ES Shell.
- Added builtin command: cd
- The 145 Shell Project launched.
- Added builtin command: exit