https://github.com/nateseymour/unlogic
Math JIT Compiler and Graph Renderer
https://github.com/nateseymour/unlogic
cpp graphs jit llvm math opengl
Last synced: 3 months ago
JSON representation
Math JIT Compiler and Graph Renderer
- Host: GitHub
- URL: https://github.com/nateseymour/unlogic
- Owner: NateSeymour
- Created: 2024-05-23T23:34:12.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-25T20:53:25.000Z (5 months ago)
- Last Synced: 2025-04-06T21:14:05.086Z (3 months ago)
- Topics: cpp, graphs, jit, llvm, math, opengl
- Language: C++
- Homepage: https://nateseymour.github.io/unlogic/
- Size: 746 KB
- Stars: 8
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Unlogic
A math JIT compiler and graph generator.
## Releases
`unlogic` is currently in alpha, but semi-functional test versions for apple-silicon macs can be found on the
releases page. These do not bundle the following dependencies: `qt`, `vulkan`. As such, they must be installed via
`homebrew` prior to use.```shell
brew install qt vulkan-tools
```## Examples
### JIT-Compiling and Running a Function
```c++
unlogic::Scene scene;
unlogic::Compiler compiler({&unlogic::stdlib, &unlogic::runtime});
auto program = *compiler.Compile("given f(x) := x^2; plot f;");program(&scene);
```### Calculator
![]()
Use `unlogic-calculator`, a Qt/Vulkan-based GUI for `unlogic` to perform graph analysis.