Skip to main content

A tiny timeline-first language for LLM workflows and logs.

Project description

Project status

Zyng is in an early v0.1-alpha stage.

  • Core runtime (ZyngContext / ZyngRuntime) and AST (Show / Let) are implemented.
  • A simple Markdown runner is available: python -m zyng.runner <file.md>.
  • Basic tests are in place (tests/test_runtime.py, tests/test_parse_line.py).
  • The syntax and semantics described here are not stable yet, but already good enough to experiment with.

See also:

  • Core spec (draft): docs/zyng_core_v0.1.md
  • Progress & roadmap: PROGRESS.md

Quick Zyng example

This README itself can be executed by the Zyng runner.

show "Now message" :::now
show "Yesterday message" :::yest
show "Tomorrow message" :::tomo
show "Exact time" :::at:"2025-12-03T21:00:00+09:00"

## Examples

You can find small runnable examples under the `examples/` directory.

- `examples/time_log.md`  
  Minimal example of `let` / `show` with time metadata (`now`, `yest`, `tomo`, `at:"..."`).
- `examples/variables.md`  
  Basic `{var}` interpolation and behavior for undefined variables.

Run them with:

```bash
python -m zyng.runner examples/time_log.md
python -m zyng.runner examples/variables.md

For contributors (early notes)

This project is still in a very early stage.

  • Install in editable mode:

    git clone https://github.com/YawKobayashi/zyng.git
    cd zyng
    pip install -e .
    
  • Run tests:

    pytest
    
  • Core runtime & AST live under: zyng/core.py

  • Markdown runner lives under: zyng/runner.py

  • Core language spec (draft): docs/zyng_core_v0.1.md

Project details


Download files

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

Source Distribution

zyng-0.1.0.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

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

zyng-0.1.0-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file zyng-0.1.0.tar.gz.

File metadata

  • Download URL: zyng-0.1.0.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for zyng-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0fffbfd996f8f05548eb985e4981c5314e9207e34b20a99c6d358bbfa7bb18a2
MD5 8e04262ad796ded11b0225c4cfe78022
BLAKE2b-256 fe45b471829b049645613f44c383cfe30ce0a4fa502b62308a15bc1ace18caf5

See more details on using hashes here.

File details

Details for the file zyng-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: zyng-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for zyng-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 85d8f98289c2d4c681f884fef48bd8e9c168c0e08560b358ab1ec843349ea846
MD5 ebfa54b3e6de4669c27314c1cbc63313
BLAKE2b-256 2670b0cb9207d5cd06344d1bb506f6c0c146b4db3ee4de484e2eab3488ce5634

See more details on using hashes here.

Supported by

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