-
Notifications
You must be signed in to change notification settings - Fork 1
Description
This website has buttons where the user can generate random Postfix and Prefix expressions. So far, the "database" (which is stored in typescript objects) only contains 3 example expressions:
From randomPostorders.ts:
const randomPostorders: string[] = [
"3 7 * 9 + 2 /",
"3 16 8 / 2 * +",
"7 1 2 + 3 - *",
];
export default randomPostorders;Anyone who'd like to help contribute could create a fork, clone, and submit a pull request under this issue. Below are the two files to help add to:
https://github.com/AjayLiu/notation-visualizer/blob/main/src/data/randomPostorders.ts
https://github.com/AjayLiu/notation-visualizer/blob/main/src/data/randomPreorders.ts
Feel free to ask any questions here, looking forward to merging your pull request!
Note: Make sure the Postfix/Prefix expressions are space-separated, only have numeral operands, and only contain the following operators: +, -, *, /, ^.