lua-patterns VS cue

Compare lua-patterns vs cue and see what are their differences.

lua-patterns

Exposing Lua string patterns to Rust (by stevedonovan)

cue

The home of the CUE language! Validate and define text-based and dynamic configuration (by cue-lang)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
lua-patterns cue
1 108
27 4,737
- 2.0%
0.0 9.7
over 1 year ago 7 days ago
Rust Go
MIT License Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

lua-patterns

Posts with mentions or reviews of lua-patterns. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-04-03.
  • The Norway Problem
    18 projects | news.ycombinator.com | 3 Apr 2021
    If you want automatic built-in string validation, one option that seems particularly interesting is to use a variant of Lua patterns, which are weaker and easier to understand than regular expressions, but still provide a significant degree of "sanity" for something like an email. The original version works on bytes and not runes, but you could simply write a parser that works on runes instead, and the pattern-matching code is just 400 old and battle-tested lines of C89.

    Lua patterns have also shown up in other places, such as BSD's httpd, and an implementation for Rust:

    https://www.gsp.com/cgi-bin/man.cgi?section=7&topic=PATTERNS

    https://github.com/stevedonovan/lua-patterns

    http://lua-users.org/wiki/PatternsTutorial

cue

Posts with mentions or reviews of cue. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-29.

What are some alternatives?

When comparing lua-patterns and cue you can also consider the following projects:

jsonnet - Jsonnet - The data templating language

dhall-lang - Maintainable configuration files

edn - Extensible Data Notation

terraform - Terraform enables you to safely and predictably create, change, and improve infrastructure. It is a source-available tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned.

yamllint - A linter for YAML files.

starlark-rust - A Rust implementation of the Starlark language

strictyaml - Type-safe YAML parser and validator.

Protobuf - Protocol Buffers - Google's data interchange format

cson - CoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.

jsonnet-libs - Grafana Labs' Jsonnet libraries