Giter VIP home page Giter VIP logo

cel-rust-original's Introduction

Hello! πŸ‘‹

  • 😎 I'm Tom
  • 🏠 I live in London
  • 🐍 I like Python
  • πŸ¦€ And rust
  • 🌍 check out my blog

cel-rust-original's People

Contributors

orf avatar russellhaering avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cel-rust-original's Issues

Constructing CelType::List seems impossible

Maybe I am missing something, but I am not sure you can actually construct a CelType::List variant, as it uses an array (not a slice and not a vec). The size is not known at compile time.

I think it should better be a Vec<CelType> instead.

Map Syntax Doesn’t Work

Hi. I'm really excited to see another Rust developer that's interested in CEL. Thanks for starting this Crate.

I've added a CelType::Map to the context and I can compile the expression users and see the map keys, but I can't compile users.username.

Is this expected to work yet?

Compilation fails

Rust: rustc 1.56.0 (09c42c458 2021-10-18)

error[E0432]: unresolved import `self::__lalrpop_util::lexer`
  --> /home/abc/git/def/target/debug/build/cel-parser-056ab5eef2c7291b/out/cel.rs:24:31
   |
24 |     use self::__lalrpop_util::lexer::Token;
   |                               ^^^^^ could not find `lexer` in `__lalrpop_util`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.