Experimental speadsheet-based interface for structured programming based on "structured grammars".
starting electron app
npm run start
- Install Git Bash (default settings) (https://gitforwindows.org/)
- Install Rust (https://www.rust-lang.org/tools/install)
- Install Node.js (12.14.1 LTS) (https://nodejs.org/en/)
- Install wasm-pack (https://rustwasm.github.io/wasm-pack/installer/)
- Install MS Visual Studio (2019, Community) (https://visualstudio.microsoft.com/downloads/)
- In git bash:
git clone https://github.com/Korede-TA/integrated-spreadsheet-environment.git
cd integrated-spreadsheet-environment/
cargo update
npm install
Create lauch.json and add "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron" to the file.
- Unit Testing
npm run test
- Integration Testing
npm run test-mocha
The frontend of this project aims to use Elm's functional reactive architecture to build an adaptive, nestable grid layout.
Data model consists of a Map of coordinates (as strings) to structs representing the individual "Grammars" that make up a representation of a program.
Each grammar (cell) is either a static text value, an input box, or a nested table of grammars.
When adding a new file FILENAME.rs:
-
Anything that will need to be accessed from other files (functions, enums, structs, attributes, methods) needs pub in front of it.
-
In lib.rs: pub mod FILENAME;
-
Accessing things in FILENAME.rs from other files: use crate::FILENAME::{things};
- ONE EXCEPTION: macros are always imported with use crate::MACRO_NAME; regardless of what file they are in.