Skip to content

anton-okolelov/simple-rust-arithmetic-parser

Repository files navigation

Arithmetic parser in Rust

https://habr.com/ru/post/455614/ (in Russian)

Rust arithmetic parser:

let expression = parse("100500*(2+35)-2*5").unwrap();

FFI: testffi.php

# build
docker-compose build
docker-compose run php74 cargo build 
docker-compose run php74 cbindgen . -o target/testffi.h

#run php
docker-compose run php74 php testffi.php 

About

Simple arithmetic parser in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published