Lingo: A Go micro language framework for building Domain Specific Languages

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • expr

    Expression language and expression evaluation for Go

    It is nuclear overkill for most problems you can think of.

    But when you hit a problem that you need something like this for... you need something like this. The attempts to get around it or avoid it or do some unbelievably hacky thing leads to piles and piles of terrible, terrible code.

    In 2024, though, I do try very hard to embed my DSLs in an existing serialization. It doesn't always work out, but, the case they show of directly embedding an AST into YAML is a worst-case scenario. In real life I've done things like specify a particular field carries an expr[1] expression to do that sort of thing, and then the structure of the rest of the file just follows normal serialization format.

    [1]: https://github.com/expr-lang/expr , but I'm sure many static languages have something like this. If you don't know one, it's a good tool to put in the belt in case you ever need it.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • cel-spec

    Common Expression Language -- specification and binary representation

  • cel-go

    Fast, portable, non-Turing complete expression evaluation with gradual typing (Go)

  • lingo is a _framework_ for building your own DSL for your go application.

    and by DSL they mean "extension language". like vimscript or emacs lisp. or guile or python...

    so you can easily add primitives to your application specific language, in go, specifically.

    https://gitlab.com/gitlab-org/vulnerability-research/foss/li...

    I think this fits nearly with the common understanding "DSL" doesn't it?

    https://en.m.wikipedia.org/wiki/Domain-specific_language

  • grule-rule-engine

    Rule engine implementation in Golang

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • CEL on N resources?

    1 project | /r/kubernetes | 4 Dec 2023
  • Library to analyze an arbitrary JSON string

    5 projects | /r/golang | 1 May 2023
  • Suggestion for a dynamic Struct Validation Rules

    5 projects | /r/golang | 21 Dec 2022
  • Common Expression Language (CEL); lightweight expression evaluation

    1 project | news.ycombinator.com | 29 Apr 2021
  • Fitter - Open Source no-code tool for map-reduce data from different source and even more!

    3 projects | dev.to | 30 Oct 2024

Did you konow that Go is
the 4th most popular programming language
based on number of metions?