Regorus - Rego interpreter, analyzer and validator written in Rust

Overview

regorus

THIS REPOSITORY IS IN ACTIVE DEVELOPMENT AND NOT INTENDED FOR PRODUCTION USE.

Regorus is a Rego interpreter, analyzer and checker written in Rust. Regorus also aims to be a rigorous enforcer of formally defined Rego semantics.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

Comments
  • Unable to run test code on OSX M1 by default

    Unable to run test code on OSX M1 by default

    I get the following error when running the code on Mac:

    $ cargo test
        Blocking waiting for file lock on build directory
       Compiling cfg-if v1.0.0
       Compiling libc v0.2.139
       Compiling memchr v2.5.0
       Compiling bitflags v1.3.2
       Compiling linux-raw-sys v0.1.4
       Compiling serde v1.0.152
       Compiling ppv-lite86 v0.2.17
       Compiling ryu v1.0.12
       Compiling itoa v1.0.5
       Compiling regex-syntax v0.6.28
       Compiling log v0.4.17
       Compiling aho-corasick v0.7.20
       Compiling num-traits v0.2.15
       Compiling termcolor v1.2.0
       Compiling io-lifetimes v1.0.5
       Compiling getrandom v0.2.8
       Compiling rand_core v0.6.4
       Compiling rustix v0.36.8
       Compiling rand_chacha v0.3.1
       Compiling regex v1.7.1
       Compiling hashbrown v0.12.3
       Compiling humantime v2.1.0
       Compiling rand v0.8.5
       Compiling is-terminal v0.4.4
       Compiling serde_json v1.0.93
       Compiling env_logger v0.10.0
       Compiling indexmap v1.9.2
       Compiling ordered-float v3.4.0
       Compiling anyhow v1.0.69
       Compiling same-file v1.0.6
       Compiling unsafe-libyaml v0.2.5
       Compiling lazy_static v1.4.0
       Compiling walkdir v2.3.2
       Compiling regorus v0.1.0 (/Users/suraj/regorus)
       Compiling serde_yaml v0.9.17
    WARN rustc_codegen_ssa::back::link Linker does not support -static-pie command line option. Retrying with -static instead.
    error: linking with `cc` failed: exit status: 1
      |
      = note: "cc" "-m64" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crt1.o" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbegin.o" "/var/folders/ls/csbb474j2r9__hhcvmxq0rfh0000gn/T/rustcnqCu9M/symbols.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/regorus-fcec70836da02bd4.26oy5xroe1j4uizr.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/regorus-fcec70836da02bd4.2al4rbod2d9ouijo.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/regorus-fcec70836da02bd4.2ell7l6z5e2ib1ww.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/regorus-fcec70836da02bd4.3dfnnzlc4ks2tmnc.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/regorus-fcec70836da02bd4.3tqzf0hnys57fi3b.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/regorus-fcec70836da02bd4.3zwjhdaxhp1yjnnm.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/regorus-fcec70836da02bd4.454ueeyu32ilswfv.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/regorus-fcec70836da02bd4.4kdq0gtkgmh1lj11.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/regorus-fcec70836da02bd4.4zzwzf8zq860h2ec.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/regorus-fcec70836da02bd4.5836ha2a7szqtn9b.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/regorus-fcec70836da02bd4.7djmpei4nvyela8.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/regorus-fcec70836da02bd4.he6eobjek6bvjb7.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/regorus-fcec70836da02bd4.ow62x8f73xh9oux.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/regorus-fcec70836da02bd4.qa6eayjupo3qekh.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/regorus-fcec70836da02bd4.3w5ijmrcl3hbb8h9.rcgu.o" "-Wl,--as-needed" "-L" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps" "-L" "/Users/suraj/regorus/target/debug/deps" "-L" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib" "-Wl,-Bstatic" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/libserde_json-cdcfbac8d3038cc5.rlib" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/libryu-b1b9f8d3fa76cb19.rlib" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/libitoa-e0dd1901b33b3a15.rlib" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/libtest-ad0f359ad33f9b7b.rlib" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/libgetopts-79eba14d9f034925.rlib" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/libunicode_width-afab047dd1b3ce90.rlib" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/librustc_std_workspace_std-842db571d17646c8.rlib" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/libserde-c4504a9a9e7f5d96.rlib" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/libordered_float-325f78850fa22743.rlib" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/libnum_traits-0c7dcfa51f336571.rlib" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/liblog-b357d2e8b2ee508d.rlib" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/liblazy_static-78967fb5a1b2ccae.rlib" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/librand-dc8da0f8c2953e14.rlib" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/librand_chacha-7a8120c61382777d.rlib" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/libppv_lite86-f174219c679d741c.rlib" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/librand_core-85cfaef9eabee4e3.rlib" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-8a1e0d457729ec1d.rlib" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/liblibc-b47602084d6405af.rlib" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/libcfg_if-9474d645befae3f8.rlib" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/libanyhow-9157ae3575dd79b3.rlib" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/libprofiler_builtins-bd289e9e1d3116a4.rlib" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/libstd-86aefecbddda356d.rlib" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/libpanic_unwind-3d55d9622a2f5140.rlib" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/libobject-7aa31308145aea0a.rlib" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/libmemchr-8c385129ceceaff7.rlib" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/libaddr2line-3a9d0b46a4afc5ce.rlib" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/libgimli-5c4e1c7dd1c36634.rlib" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/librustc_demangle-85de0c518ec91e8f.rlib" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/libstd_detect-2eeeecc93705146d.rlib" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/libhashbrown-990303a257faf081.rlib" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/libminiz_oxide-3639a8245c3cc653.rlib" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/libadler-8dbe6ab28e534b48.rlib" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/librustc_std_workspace_alloc-dd6269f764aa51a6.rlib" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/libunwind-53c0377c886910ca.rlib" "-lunwind" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/libcfg_if-68da8aade85f8514.rlib" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/liblibc-f8cfdefff46a260d.rlib" "-lc" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/liballoc-d2c87b1633315b15.rlib" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/librustc_std_workspace_core-37886685c2c3c64f.rlib" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/libcore-5c96c3c09cedb260.rlib" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/libcompiler_builtins-8917dd2a6ba09b28.rlib" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-nostartfiles" "-L" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib" "-L" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/regorus-fcec70836da02bd4" "-Wl,--gc-sections" "-static" "-Wl,-zrelro,-znow" "-nodefaultlibs" "-u" "__llvm_profile_runtime" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtend.o" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o"
      = note: ld: unknown option: --as-needed
              clang: error: linker command failed with exit code 1 (use -v to see invocation)
    
    
    error: could not compile `regorus` due to previous error
    warning: build failed, waiting for other jobs to finish...
    WARN rustc_codegen_ssa::back::link Linker does not support -static-pie command line option. Retrying with -static instead.
    error: linking with `cc` failed: exit status: 1
      |
      = note: "cc" "-m64" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crt1.o" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbegin.o" "/var/folders/ls/csbb474j2r9__hhcvmxq0rfh0000gn/T/rustcezdAAE/symbols.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.10lbz54l10fy7bnj.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.14qdkywmskbufgzc.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.14x1578w73rs0t7g.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.15pang75rgcc2149.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.15ttnen1yodphh59.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.19qiu0vstc6blcoo.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.1chunr76iiltpbwh.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.1d5q024lzwtrjxc1.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.1drcbnq9dk8d16y9.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.1dtq9gsda3qt1569.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.1esr8c3vv575wkum.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.1gk4hluxuh3zfnt4.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.1iov375qof33xtth.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.1mlvsdh2p3rtl69a.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.1ncizjpmszhorze4.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.1qlk5wae1w1agfkv.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.1u46vy1nwnirjjgu.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.1v0fcbsxcm20a357.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.1v6w4vossqd9m9wx.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.1v9kxi413z2zvb37.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.1w54bwl3badzw2ui.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.1w7gmfjkhdppngnw.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.20ao07srkatsdi1a.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.20mk0g32l9hglkiu.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.21surqq5dprmlr7n.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.236ahaz3xdvx19vz.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.239og53s1h4sf4he.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.24bc8iduz0hpw1vv.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.278fswuw6juzym6z.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.292z02bdmwk82fkw.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.2dhcymdxg28stykj.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.2gx0zi7jtyafyap.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.2h151lwiifn8t2b8.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.2ici9tg27fg93szc.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.2ihl00rhn5w063xo.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.2k5geolxrpmtsrx1.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.2ky3qvmsunrmsuz5.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.2mkz35slr7u08tt2.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.2neziuzui60355f6.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.2o5wbrg0lh63d9rr.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.2t9dk78lxlh9z8t6.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.2tbgxkmc1p4usxru.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.2tqs1rtkjkcndkz3.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.2uqjhe8ydp5faoc9.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.2uu5wwwbcages3zz.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.2wba4gk4otk9a9cl.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.2wdrxpmvrj88arhb.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.31do7vn09jexws7a.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.32yvriltmj8las5i.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.36ab358g564vkadv.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.39sjso3eptiwkso3.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.39v3ijqe9ohdx6ix.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.3bnqese2dkk10qxb.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.3c0kwcmwuvdn0nwe.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.3cx6j9et76p6e8dr.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.3ewxvgxu7ntq7kak.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.3g4d52phcytf66e1.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.3jk00xc1l27y3cby.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.3ktgq3elm9xczl5s.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.3nay7aaq2o8dwp2.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.3qj5ythr684tme3f.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.3qvnf4i07hgdrkua.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.3vm3vhz51xqoolkm.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.41ee3azv9168g668.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.41ight3vjb60iss.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.42novq37zj9kk2iz.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.43hrmg2tdwdbz2tu.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.46sjiehwsngos927.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.4a1bopx8hdq8zitz.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.4c3bzkmkpqzsjk44.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.4cvv3qrxo7ucxr2b.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.4f9t18mqhvohsx7s.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.4gfly11vbz811auk.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.4h9plm51ncrcj3od.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.4i436tjojnxt7cyy.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.4igp5hcl8upsitcn.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.4p45qxhjnrsrvn7v.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.4rk03eexl33bipk3.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.4sk3841ngzoivdt8.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.4v05i0ipvhez0b7h.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.4v4xwnqfixyzp2gc.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.4vyjq0nhdlaxj77h.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.4w4x67d76bqfsud2.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.4wl0vgh2rzv7r5lc.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.4ww2zc4z3cipog6m.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.54i7dq1g3vasvvmp.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.57oci7izti4d3mhc.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.58yq1lbk0m2hpeq2.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.5cexk1c8q8j7zf46.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.5fjck2b3oj36ru6n.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.6jfmxsxw6bw8jlh.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.6vikuziay2a4kll.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.9reru6ioj34p3pr.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.d0y5x9anjldh59h.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.dhwg9sp9svbwafl.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.dw0guksm18tfhv9.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.fvhcb11tjjkg28x.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.fxaa8i4jalx23o.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.iv179gi6ew87u2u.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.ked6dapl1yydq12.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.ltrkj4sc07w9afm.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.lw3bf575jbf5niv.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.lypp958fqg0qquv.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.nzd85bdo9hx53pj.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.opjuftvetdalckf.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.q6valkxkn5aqvvq.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.q7vvvvks6l15x91.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.sd6c0si6nq56dgg.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.u4beonlsekqmaij.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.vyn2m1m2cq7xu1x.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.wn5l5h2mu2x96vv.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.x5pum6ohexqcreu.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.zg53v1wdz67ucak.rcgu.o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422.2ohczznkv083gq9.rcgu.o" "-Wl,--as-needed" "-L" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps" "-L" "/Users/suraj/regorus/target/debug/deps" "-L" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib" "-Wl,-Bstatic" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/libserde_yaml-10928f6a17d9ac05.rlib" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/libindexmap-ace3303970416a49.rlib" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/libhashbrown-6b1ed0f4c35f0529.rlib" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/libunsafe_libyaml-ba03e2fcbab3acc5.rlib" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/libenv_logger-d191049e22d18f84.rlib" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/libtermcolor-b14b6fb0486f23c6.rlib" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/libis_terminal-9f4d4e6a3f6cd08c.rlib" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/librustix-06f28caa09371fd8.rlib" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/libbitflags-4616e6d358ea76d6.rlib" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/liblinux_raw_sys-caa13804594638b4.rlib" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/libio_lifetimes-13f403714eb7d653.rlib" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/libhumantime-f15b169e767823af.rlib" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/libregex-dac92d386ed86f3f.rlib" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/libaho_corasick-ca0617db7b86d108.rlib" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/libmemchr-f38717440fcdc3d3.rlib" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/libregex_syntax-674614f1fdd60202.rlib" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/libtest-ad0f359ad33f9b7b.rlib" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/libgetopts-79eba14d9f034925.rlib" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/libunicode_width-afab047dd1b3ce90.rlib" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/librustc_std_workspace_std-842db571d17646c8.rlib" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/libregorus-51e3b06d197979a2.rlib" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/libserde_json-cdcfbac8d3038cc5.rlib" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/libryu-b1b9f8d3fa76cb19.rlib" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/libitoa-e0dd1901b33b3a15.rlib" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/libserde-c4504a9a9e7f5d96.rlib" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/libordered_float-325f78850fa22743.rlib" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/libnum_traits-0c7dcfa51f336571.rlib" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/liblog-b357d2e8b2ee508d.rlib" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/liblazy_static-78967fb5a1b2ccae.rlib" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/librand-dc8da0f8c2953e14.rlib" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/librand_chacha-7a8120c61382777d.rlib" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/libppv_lite86-f174219c679d741c.rlib" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/librand_core-85cfaef9eabee4e3.rlib" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-8a1e0d457729ec1d.rlib" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/liblibc-b47602084d6405af.rlib" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/libcfg_if-9474d645befae3f8.rlib" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/libanyhow-9157ae3575dd79b3.rlib" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/libprofiler_builtins-bd289e9e1d3116a4.rlib" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/libstd-86aefecbddda356d.rlib" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/libpanic_unwind-3d55d9622a2f5140.rlib" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/libobject-7aa31308145aea0a.rlib" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/libmemchr-8c385129ceceaff7.rlib" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/libaddr2line-3a9d0b46a4afc5ce.rlib" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/libgimli-5c4e1c7dd1c36634.rlib" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/librustc_demangle-85de0c518ec91e8f.rlib" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/libstd_detect-2eeeecc93705146d.rlib" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/libhashbrown-990303a257faf081.rlib" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/libminiz_oxide-3639a8245c3cc653.rlib" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/libadler-8dbe6ab28e534b48.rlib" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/librustc_std_workspace_alloc-dd6269f764aa51a6.rlib" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/libunwind-53c0377c886910ca.rlib" "-lunwind" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/libcfg_if-68da8aade85f8514.rlib" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/liblibc-f8cfdefff46a260d.rlib" "-lc" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/liballoc-d2c87b1633315b15.rlib" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/librustc_std_workspace_core-37886685c2c3c64f.rlib" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/libcore-5c96c3c09cedb260.rlib" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/libcompiler_builtins-8917dd2a6ba09b28.rlib" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-nostartfiles" "-L" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib" "-L" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-o" "/Users/suraj/regorus/target/x86_64-unknown-linux-musl/debug/deps/tests-9550f7ae56217422" "-Wl,--gc-sections" "-static" "-Wl,-zrelro,-znow" "-nodefaultlibs" "-u" "__llvm_profile_runtime" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtend.o" "/Users/suraj/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o"
      = note: ld: unknown option: --as-needed
              clang: error: linker command failed with exit code 1 (use -v to see invocation)
    
    
    error: could not compile `regorus` due to previous error
    
    

    But with the following change I can make it run on the OSX as well:

    $ git diff
    diff --git .cargo/config.toml .cargo/config.toml
    index 997f237..8f70798 100644
    --- .cargo/config.toml
    +++ .cargo/config.toml
    @@ -1,5 +1,5 @@
     [build]
    -target = "x86_64-unknown-linux-musl"
    +# target = "x86_64-unknown-linux-musl"
    
     # Flags to enable code-coverage for all builds.
     # These can be removed later.
    

    Or I can do that by manually specifying the target

    $ cargo test --target aarch64-apple-darwin
    
    opened by surajssd 1
  • Support build on non Linux platforms

    Support build on non Linux platforms

    cargo config

    1. MUSL is no longer the default target. This allows building on Mac and Windows.
    2. On Linux, code coverage compiler options are supplied by default.

    pre-commit, pre-push

    • Coverage is turned on only on Linux
    • clippy is run on all platforms

    github

    • MUSL build is tested to ensure that stand alone executables can be created

    fixes #9

    opened by anakrish 0
  • Implement comparison operators. Formalize semantics.

    Implement comparison operators. Formalize semantics.

    Rename compare.rs to comparison.rs to match OPA documentation of builtins.

    Also update loop handling to ensure that the current scope is restored after each iteration of the loop so as to undo side effects of the iteration.

    Signed-off-by: Anand Krishnamoorthi [email protected]

    opened by anakrish 0
  • Rework assign operations

    Rework assign operations

    Details of the PR

    • Support "var = value", "value = var", and "var = var"
    • Fall back the '=' to comparison when both operators are defined
    • Correctly support variable shadowing with "var := value"

    Also, remove the unused Variable struct

    Signed-off-by: Ming-Wei Shih [email protected]

    opened by mingweishih 0
  • Locked down supported values in default rule.

    Locked down supported values in default rule.

    Only scalars, composites and comprehensions containing scalars are supported. This will be changed as OPA fixes bug with default values

    Signed-off-by: Anand Krishnamoorthi [email protected]

    opened by anakrish 0
  • [Testing] Add test cases for strings builtins

    [Testing] Add test cases for strings builtins

    String bultins are defined in https://github.com/microsoft/regorus/blob/main/src/builtins/strings.rs.

    Tests need to be written similar to tests for arrays builtins: https://github.com/microsoft/regorus/tree/main/tests/interpreter/cases/builtins/arrays

    good first issue 
    opened by anakrish 0
Owner
Microsoft
Open source projects and samples from Microsoft
Microsoft
A fast, powerful and configurable interpreter written in Rust

brainfuck-interpreter Overview A fast, powerful and configurable interpreter written in Rust, which allows various options to meet different demends,

Justin Chen 4 Feb 12, 2023
Brainfuck interpreter written in rust

Brainfuck Interpreter Written in Rust Simple Interpreter that runs bare Brainfuck and extends it with debug command # which prints content of first te

Was 1 Nov 28, 2021
The brainfuck language interpreter written in Rust

The brainfuck language interpreter written in Rust

Jan Štaffa 1 Feb 21, 2022
A Brainf** interpreter written in rust 🦀

Brainf Interpreter An interpreter for the esoteric programming language Brainfuck written in rust ?? Compilation NOTE: To compile the project, you nee

Chitram Dasgupta 2 Sep 12, 2022
Brainf - A brainfuck interpreter written in Rust 🦀

brainf A brainfuck interpreter written in Rust ?? . Do not I wrote this in my spare time... but still its good! Run Locally Clone the project git cl

Nav 3 Oct 8, 2022
A simple interpreter written in Rust programming language.

Interpreter in Rust A simple interpreter written in Rust programming language. Getting Started These instructions will get you a copy of the project u

Ismail Mosleh 5 Feb 17, 2023
Compiler & Interpreter for the (rather new and very experimental) Y programming language.

Y Lang Why would anyone build a new (and rather experimental) language with no real world use case. Design Y (pronounced as why) is based on the idea

Louis Meyer 8 Mar 5, 2023
rlox-interpreter is an AST-walking implementation of Bob Nystrom's Lox language in Rust.

rlox-interpreter rlox-interpreter is an AST-walking implementation of Bob Nystrom's Lox language in Rust. Disclaimer: This is my first Rust project, d

Paul Fedorow 3 Oct 5, 2022
Risc-V assembly interpreter built with pure Rust

Risc-V Interpreter Interpreter for Risc-V assembly built with Rust Report bug · Request feature Table of contents Quick start Exemple Program Instruct

null 2 Aug 24, 2022
This crate defines a single macro that is a brainfunct compile-time interpreter.

Compile Protection This crate defines a single macro that is a brainfunct compile-time interpreter. One example is as follows #![recursion_limit = "18

John Marsden 7 Nov 29, 2021
PICNIC Is Config Notation Interpreter/Converter

PICNIC Is Config Notation Interpreter/Converter ?? PICNIC PICNIC's name is powered by AI, which immediately makes it worth your time: Human: Please co

Fabricio Demattê 4 Jul 13, 2023
This is a Discord bot written in Rust to translate to and from the Bottom Encoding Standard using bottom-rs and Serenity.

bottom-bot This is a Discord bot written in Rust to translate to and from the Bottom Encoding Standard using bottom-rs and Serenity. Ever had this pro

Bottom Software Foundation 11 Dec 10, 2022
Opensource diagnostic software for Daimler vehicles, inspired by Xentry and DAS, written in Rust

OPENSTAR An opensource diagnostic application for Daimler vehicles inspired by DAS and Xentry. Some of the work here is based on OpenVehicleDiag If yo

Ashcon Mohseninia 21 Nov 20, 2022
A little bit fast and modern Ruby version manager written in Rust

A little bit fast and modern Ruby version manager written in Rust Features Pure Rust implementation not using ruby-build Cross-platform support (macOS

Takayuki Maeda 510 Jan 5, 2023
DWARF packaging utility, written in Rust, supporting GNU extension and DWARF 5 package formats.

thorin thorin is an DWARF packaging utility for creating DWARF packages (*.dwp files) out of input DWARF objects (*.dwo files; or *.o files with .dwo

David Wood 19 Nov 16, 2022
Fast and simple PHP version manager written in rust

[WIP] phpup (PHP-up): Fast and Simple PHP version manager ⚡ Fast and simple PHP version manager, written in rust Features No requirements for system P

null 27 Dec 25, 2022
A shiny new package manager written in rust explicitly for gemlock/linux and it's distributions

Gem A shiny new package manager written in rust explicitly for gemlock/linux and it's distributions. List of content How to setup Systems Ubuntu Arch

Gemlock 1 Feb 22, 2022
An example Kibana plugin written in Rust and Typescript

An example Kibana plugin written in Rust and Typescript

Aleh Zasypkin 3 Dec 24, 2022
A highly modular Bitcoin Lightning library written in Rust. Its Rust-Lightning, not Rusty's Lightning!

Rust-Lightning is a Bitcoin Lightning library written in Rust. The main crate, lightning, does not handle networking, persistence, or any other I/O. Thus, it is runtime-agnostic, but users must implement basic networking logic, chain interactions, and disk storage. More information is available in the About section.

Lightning Dev Kit 850 Jan 3, 2023