Agents Assembly translator
Project description
Agents Assembly Translator
Table of Contents
About
A target agnostic translator for Agents Assembly.
Getting Started
Prerequisites
Python 3.10
Installation
The translator 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 information about usage run:
python -m aasm.translate --help
Structure
generating
code.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
intermediate
action.py
agent.py
argument.py
- arguments used in instructionsbehaviour.py
block.py
- block of code representationdeclaration.py
- declarations used in actionsgraph.py
instruction.py
- instructions used in actionsmessage.py
parsing
parse.py
- parsing environment from Agents Assembly fileop/
- Agents Assembly operationsstate.py
- state definition used for the parsing process
utils
exception.py
validation.py
iteration.py
translate.py
- entrypoint
Design
Message
Parameter
Type
Agent
Parameter
Type
Value
Behaviour
Type
Parameter
Received message
Actions
Message to be sent
Block
Declaration
Name
Argument
Types
Instruction
Argument
Types
Block
Graph
Parameter
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
aasm-0.0.46.tar.gz
(61.4 kB
view hashes)
Built Distribution
aasm-0.0.46-py2.py3-none-any.whl
(45.9 kB
view hashes)
Close
Hashes for aasm-0.0.46-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a691bd5e010fa91f2d1e328fc45ef7b71c7afc2c9f04d0cc8955e6156dfda674 |
|
MD5 | bbaf78a617dc747074825934711fc78b |
|
BLAKE2b-256 | 86f0b05ef8afc87796cbf2879f4edc565c9fdb88054141769a4fbbfb23e0588e |