Remix.run Logo
monkeyelite 3 days ago

Is it actually hard to build a DSL for the kind of query’s they are talking about? Seems like it would be a 50 line SICP exercise.

ameliaquining 3 days ago | parent [-]

Conveniently, it's open core, so you can look: https://github.com/SigNoz/signoz/tree/main/pkg/querybuilder

Seems to be 3978 lines of Go at present.

ecshafer 3 days ago | parent [-]

Go is pretty wordy, so 50 lines of scheme would be a bit of an exaggeration, but a good enough schemer could probably get it down there