Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/raganwald/shunting-yard
The collected shunting-yard code from raganwald.com
https://github.com/raganwald/shunting-yard
Last synced: 8 days ago
JSON representation
The collected shunting-yard code from raganwald.com
- Host: GitHub
- URL: https://github.com/raganwald/shunting-yard
- Owner: raganwald
- License: mit
- Created: 2020-06-03T20:58:32.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-02-01T03:09:08.000Z (almost 4 years ago)
- Last Synced: 2023-04-12T08:06:58.106Z (over 1 year ago)
- Language: JavaScript
- Size: 46.9 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Shunting Yard
### setup and running the examples
Prerequisites:
- A recent-ish installation of node.
- Babel (if you prefer) https://babeljs.io/docs/en/usageInstalling Babel to compile ES-whatever to node-whatever:
```bash
npm install --save-dev @babel/core @babel/cli @babel/preset-env
npm install --save @babel/polyfill
```Running an example:
```bash
% npx babel src --out-dir lib && node ./lib/arithmetic.jsSuccessfully compiled 4 files with Babel (590ms).
(1+2)3! => 18
%
```