https://github.com/takluyver/calcurust
A sample Jupyter kernel in Rust
https://github.com/takluyver/calcurust
jupyter jupyter-kernels rpn-calculator rust
Last synced: 2 months ago
JSON representation
A sample Jupyter kernel in Rust
- Host: GitHub
- URL: https://github.com/takluyver/calcurust
- Owner: takluyver
- Created: 2015-05-10T21:29:49.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2018-01-22T11:25:10.000Z (over 7 years ago)
- Last Synced: 2025-02-14T18:48:56.640Z (4 months ago)
- Topics: jupyter, jupyter-kernels, rpn-calculator, rust
- Language: Rust
- Homepage:
- Size: 12.7 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
**Calcurust** is a Jupyter kernel, written in Rust, implementing a very simple RPN calculator (i.e. `6 7 *` will evaluate to 42).
In the `src/` directory, `messaging.rs` contains most of the functions to communicate with Jupyter, and `main.rs` contains
the RPN implementation and the main functions integrating the functionality.This was written mainly as a project to learn Rust, but it also serves as an example of implementing a Jupyter kernel
in a language other than Python. I don't intend to add much complexity, so it can remain as a simple example.