AgentLang is an interpreted programming language designed for agent-based modeling. Below is an example AgentLang source code.
agent snowflake 200 {
const speed = random(8, 15);
property x: random(0, width()) = x;
property y: random(0, height()) = (y + speed) % height();
const w = 10;
const h = 10;
}
For further details about the AgentLang interpreter, visit the agent-lang-interpreter repository.
For further details about the AgentLang web interface, visit the agent-lang-web repository.
For further details about the AgentLang VS Code syntax highlighting extension, visit the agent-lang-kit repository.
To try out AgentLang, visit the AgentLang website for live code sandbox and simulation modeling.
Documentation to the AgentLang programming language can be found on the documentation page of the AgentLang website.
Made by Tomas Boda