Skip to main content

GSAM

GSAM compiler and execution engine

PyPI GitHub

Installation

pip install gsam

About

GSAM is a compiler and execution engine built around a graph-based computation model. It is designed for extensibility, where external “Materials” define behavior and execution logic in a modular way.

Instead of traditional linear execution, GSAM represents programs as graphs of nodes, enabling flexible control flow, parallel execution patterns, and pluggable runtime behavior.

Syntax Overview

Refer to the Semantics Example for detailed syntax descriptions and usage.

? comment block (multi-line via indentation)
  lines starting with indentation are treated as part of the comment

- parent node
  = variable assignment
  @ keyword_argument
    + value
  + positional_argument
  > next node option

Example

Hello World

? use console material
$ console

? "log" node comes from "console"
- log
  + "Hello, GSAM!"

Architecture

GSAM is built as a graph-native execution system with layered components:

Pipeline

Source code flows through:

  • Parsing
  • Intermediate Representation (IR)
  • Graph construction
  • Execution

Execution Engine

  • Execution Queue (node scheduling)
  • Execution Clusters (parallel groups)
  • Execution Stack (scoped runtime context)
  • Memory Bank (runtime state storage)

Materials System

  • External modules defining execution behavior
  • Plug-in style extensibility
  • Core engine remains minimal and generic

Core Artifacts

  • Data nodes (computation units)
  • Execution units (runtime tasks)
  • Memory structures (state persistence)

Design Philosophy

GSAM follows a minimal and explicit design approach:

  • Graph-native execution model
  • Extensible through external modules called “Materials”
  • Minimal assumptions in the core engine
  • Clear separation between syntax, execution, and behavior

Status

GSAM is under active development.
The architecture and APIs may evolve as the system matures.

Links


Made with <3 by AttAditya

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gsam-0.1.6.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gsam-0.1.6-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

File details

Details for the file gsam-0.1.6.tar.gz.

File metadata

  • Download URL: gsam-0.1.6.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for gsam-0.1.6.tar.gz
Algorithm Hash digest
SHA256 5300d96f3d99912bf8434f290c2ff8cd84e78ae0438263779642f62ce12a40fd
MD5 11f90e5a203248059dbb76fd0c5f9bbe
BLAKE2b-256 54e8d1d6014a9eae3cfdf7aa5f9227a1c84d7e811e0c3c30c6e740fc0ef16afb

See more details on using hashes here.

File details

Details for the file gsam-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: gsam-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 15.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for gsam-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 c3dbf939c3b2e119e5ae1d0710e015e1a90001d2fdde86e6b622c533ba46c2ce
MD5 0b2b024e37d4c7d25b10d8f52d68742a
BLAKE2b-256 d9bd99fa12e20c260273a8ff99ad3c9b803c1865119dc0fe298bb1a6d7f6c16a

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

This release

0.1.6 This release

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

0.0.22

2 files

0.0.19

2 files

0.0.18

2 files

0.0.15

2 files

0.0.14

2 files

0.0.13

2 files

0.0.12

2 files

0.0.11

2 files

0.0.10

2 files

0.0.9

2 files

0.0.8

2 files

0.0.4

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page