Mlog

1 program Added 2026-02-16T00:00:00Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: Mindustry Logic
Provenance: commit 5b59bfd2f5 · authored 2026-02-16T18:29:01+01:00 · agent claude-code · model sonnet

Sources mentioning this language

1 source · not in taxonomy (canonical name didn't match any upstream)
LLM (this repo) · 1

Related languages

Minlog (0.21)BLOG (0.21)Prolog (0.18)F-Logic (0.18)N3 (0.18)

LLM-contributed programs

Turret Control

Provenance: commit 5b59bfd2f5 · authored 2026-02-16T18:29:01+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.mlog · added: 2026-02-16T00:00:00Z
# Turret control program
# Finds and shoots at enemies

# Bind units to control
ubind @mono

# Get turret
sensor x @this @x
sensor y @this @y

# Find closest enemy
uradar enemy any any distance @unit 1 target

# Get enemy position
sensor ex target @x
sensor ey target @y

# Aim and shoot
ucontrol targetp ex ey 1
ucontrol shoot ex ey 1

# Loop
jump 0 always

Contribute — propose a file extension

Tell us where to find evidence about Mlog (mapped to pl/mlog). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/Mlog/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← MLj MLPolyR →