Downloadable LMScript & LMCode Scripts
Every script listed below is statically checked with lmscript --check as part of the
lmscript.io site verification pipeline.
1. AWS S3 + CloudFront + Route 53 (lmctl-ai/lmaws) & Browser Testing (lmctl-ai/lmwebtest)
setup-lmscript-io.lms
Full Route 53 + ACM TLS certificate + S3 bucket + CloudFront Origin Access Control (OAC) & distribution + IAM policy linter for lmscript.io.
deploy-site.lms
Multi-file S3 static website publisher with SHA-256 checksums, explicit Content-Type, Cache-Control, and ledger receipts.
test-lmwebtest.lms
End-to-end website test suite combining lmwebtest Web DSL, lmwebtest playwright interactive browser clicks/filters, and lmhtml DOM verification.
2. LMCode (_lmcode_ · DSLB v6) Example Scripts
literals-and-std.lms
Demonstrates qw(), qi(), qf(), %(...) maps, json <<~TAG heredocs, priority queues, and template_render.
shop-rules.lms
Targets the canonical sample_shop_v1 schema with Money operators, implicit conversions, and @vip fn ... implements Adjuster rules.
lmaws-zones-demo.lms
Minimal _lmcode_ cli="lmaws" script querying Route 53 zones and returning structured JSON via run_lmcode.
3. Outer LMScript (.lms) Core Example Scripts
python-strings.lms & regex-tokenizer.lms
Raw strings (r"..."), format strings (f"..."), regex_find / regex_matches substring extraction, and stateful Perl-like pos() tokenizers.
functions.lms
Top-level functions, functions passed as values (higher-order calls), and counted loops.
reverse-template.lms & sqlite-demo.lms
Bidirectional expand + template_extract and a temporary-file SQLite database queried with bound parameters.