Agents Assembly translator
Project description
Agents Assembly Translator
Table of Contents
About
A target agnostic translator for Agents Assembly. The translator can be tested live on Agents Assembly website. It is a part of the Agents Assembly ecosystem. Other applications are:
- Local Interface - GUI for simulation definition, management, and analysis.
- Simulation Run Environment - environment for running scalable agent-based simulations.
- Communication Server - cluster of servers used for XMPP communication.
- Local Development Environment - simple environment for running agent-based simulations.
Agents Assembly
Documentation of Agents Assembly can be read here.
Getting Started
Prerequisites
Python 3.10
Installation
The translator package can be installed by running:
pip install aasm
Alternatively, you can download this repository. No additional dependencies are required.
Usage
You can run the translator as a package. To translate agent.aasm to SPADE, run:
python -m aasm.translate agent.aasm
For more usage information, run:
python -m aasm.translate --help
Structure
generatingcode.py- generated codepython_code.py- Python code base classpython_graph.py- Python graph code generation from the intermediate representationpython_spade.py- SPADE agent code generation from the intermediate representation
intermediateaction.pyagent.pyargument.py- arguments used in instructionsbehaviour.pyblock.py- block of code representationdeclaration.py- declarations used in actionsgraph.pyinstruction.py- instructions used in actionsmessage.py
parsingparse.py- parsing environment from Agents Assembly fileop/- Agents Assembly operationsstate.py- state definition used for the parsing process
preprocessorconstants.py- constants used in the preprocessormacro.py- macro definitions used in the preprocessorpreprocessor_item.py- preprocessor base itempreprocessor.py
utilsexception.pyvalidation.pyiteration.py
translate.py- entrypoint
Contributing
Please follow the contributing guide if you wish to contribute to the project.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aasm-0.1.9.tar.gz.
File metadata
- Download URL: aasm-0.1.9.tar.gz
- Upload date:
- Size: 84.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2c981c3f17600849b005f4f8d2dc2a2a94bce404233925643793aadc2f3026c
|
|
| MD5 |
4f1fa9da4ccbd6b83db92f0a35b79e6d
|
|
| BLAKE2b-256 |
14166d2063c640b216348e34a624402116e52ab336f2269a30c0669d4a136703
|
File details
Details for the file aasm-0.1.9-py3-none-any.whl.
File metadata
- Download URL: aasm-0.1.9-py3-none-any.whl
- Upload date:
- Size: 70.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f59b74cdf1daedd816be821f62c652195e09172187664697bd698775dd977fbc
|
|
| MD5 |
aab1d044b639e5d854b9edb0dd947a6d
|
|
| BLAKE2b-256 |
71ca2617bf2493edfb70b0fcb6cca888c661e770dca21653df734a8b8ff66759
|