Catalog PyPI
PACKAGE EXPLORERView in registry

aasm

PyPI

Agents Assembly translator

aasmagentsassemblydomaindsllanguagesimulationsspecifictranslator
Versions collected1
Direct dependencies0From release 0.1.9
Last observed20 Oct, 17:04 UTC

README

Version 0.1.9 documentation

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:

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

  • generating
    • code.py - generated code
    • python_code.py - Python code base class
    • python_graph.py - Python graph code generation from the intermediate representation
    • python_spade.py - SPADE agent code generation from the intermediate representation
  • intermediate
    • action.py
    • agent.py
    • argument.py - arguments used in instructions
    • behaviour.py
    • block.py - block of code representation
    • declaration.py - declarations used in actions
    • graph.py
    • instruction.py - instructions used in actions
    • message.py
  • parsing
    • parse.py - parsing environment from Agents Assembly file
    • op/ - Agents Assembly operations
    • state.py - state definition used for the parsing process
  • preprocessor
    • constants.py - constants used in the preprocessor
    • macro.py - macro definitions used in the preprocessor
    • preprocessor_item.py - preprocessor base item
    • preprocessor.py
  • utils
    • exception.py
    • validation.py
    • iteration.py
  • translate.py - entrypoint

Contributing

Please follow the contributing guide if you wish to contribute to the project.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.95 Sept 20230

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
agent-based-information-flow-simulation/agents-assembly-translator

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 17:04 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:bebe8e9c33d9f983f4fd88bb70a16cc48cb64a1e0c64c8186a4e69ca248b4e2b