msv-lab / modus

A language for building Docker/OCI container images
GNU Affero General Public License v3.0
280 stars 9 forks source link

Builtin predicates #33

Open mechtaev opened 3 years ago

mechtaev commented 3 years ago
maowtm commented 2 years ago

I'm going to go with storing the arguments for builtin-predicates like run in ClauseID for now, since this is the easiest and it's not obvious what variable names should we use if we want to store it in e.g. valuations... And when transpiling to Dockerfile we can just match the clauseID, if it's e.g. Run(s) emit "RUN {s}"

thevirtuoso1973 commented 2 years ago

Useful doc on URL format https://github.com/bagder/docs/blob/master/URL-interop.md