percival
π Web-based, reactive Datalog notebooks for data analysis and visualization
File Explorer
Download Latest Version (.zip)- ci.yml
- index.go
- ast.rs
- codegen.rs
- errors.rs
- lib.rs
- parser.rs
- parse.rs
- Cargo.toml
- main.rs
- Cargo.toml
- lib.rs
- web.rs
- Cargo.toml
- cars.txt
- fib.txt
- nested.txt
- purchased.txt
- rolling.txt
- tc.txt
- domino+2.1.6.patch
- social-image2.png
- favicon.svg
- logo.svg
- FullView.svelte
- Item.svelte
- PlotView.svelte
- RelationView.svelte
- ValueView.svelte
- Cell.svelte
- CellDivider.svelte
- CellInput.svelte
- CellOutput.svelte
- App.svelte
- Dialog.svelte
- Header.svelte
- Link.svelte
- Notebook.svelte
- ShareCopy.svelte
- language.ts
- percival.grammar
- percival.grammar.d.ts
- marshal.test.ts
- marshal.ts
- notebook.ts
- plot.ts
- plot.worker.ts
- runtime.test.ts
- runtime.ts
- runtime.worker.ts
- stores.ts
- text.ts
- starter.percival
- app.css
- imports.d.ts
- main.ts
- vite-env.d.ts
- .editorconfig
- .gitignore
- .prettierignore
- .prettierrc
- Cargo.lock
- Cargo.toml
- go.mod
- go.sum
- index.html
- LICENSE
- main.go
- package-lock.json
- package.json
- postcss.config.cjs
- README.md
- svelte.config.js
- tailwind.config.cjs
- tsconfig.json
- vercel.json
- vite.config.js
# Installation Guide
1. Get the code
git clone https://github.com/ekzhang/percival
Downloads the entire project code from GitHub to your computer.
cd percival
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
npm run dev
Starts the development/run server.
npm run build
Builds optimized production files.
npm run check
Type this command into your terminal and run it.
npm run format
Type this command into your terminal and run it.
npm test
Type this command into your terminal and run it.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
3. Go
MediumPrerequisites
go build ./...
Compiles the Go program into an executable.
go run .
Runs the Go program directly without a separate build step.
If the build finishes without errors, it worked. If you used go run ., check the terminal output.
4. Rust
MediumPrerequisites
- Git Needed to download the project code from GitHub.
- Rust (rustup) Installing via rustup also installs cargo.
cargo test
Type this command into your terminal and run it.
If cargo build finishes without errors, it worked. The executable is created under target/.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
