Skip to main content

ASTx is an agnostic expression structure for AST.

Project description

ASTx Library: A Versatile Toolkit for Language Representation

ASTx is a groundbreaking library designed to encapsulate language components in an agnostic and pythonic way. It provides a comprehensive set of classes and functionalities, allowing developers to articulate the core elements of any programming language.

Core Features

1. Expressive Language Components

ASTx offers a rich suite of classes to describe essential language constructs such as:

  • If statements
  • For loops
  • Function declarations and usages
  • Variables
  • Data Types
  • Operations
  • And more

These classes enable a concise and clear representation, providing an intuitive way to model various programming constructs.

2. Symbol Table Class

An integral part of ASTx, the Symbol Table class facilitates the translation of ASTx expressions to other languages like LLVM-IR. This class acts as a mapping layer, allowing a seamless connection between ASTx expressions and target language representations.

3. Language Agnostic Design

Uniquely tailored to be independent of specific programming languages, ASTx offers a flexible foundation. It strives to provide initial components that can describe any programming language, giving users the freedom to work with multiple languages effortlessly.

4. Integration with Projects like ARX-IR

ASTx has proven to be a vital tool in projects like ARX-IR, where it's leveraged to translate Abstract Syntax Trees (AST) into LLVM-IR. This showcases the library's adaptability and potential to serve as a foundational layer in various applications.

Why Choose ASTx?

ASTx is not just a library; it's a robust framework that fosters creativity and efficiency in language processing. Its pythonic design, combined with the power to handle different language constructs, positions ASTx as an invaluable resource for developers and researchers alike.

Whether you're building a compiler, working on language translation, or exploring new frontiers in programming language design, ASTx offers a reliable and extensible toolkit to support your endeavors.

Getting Started

You can explore the ASTx library and dive into its capabilities by accessing the official documentation. For those interested in contributing or seeking further insights, the ASTx community provides extensive support and collaboration opportunities.

Unlock the potential of language representation with ASTx, and join us in shaping the future of programming languages.

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

astx-0.8.0.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

astx-0.8.0-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

Details for the file astx-0.8.0.tar.gz.

File metadata

  • Download URL: astx-0.8.0.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.7 Linux/6.2.0-1018-azure

File hashes

Hashes for astx-0.8.0.tar.gz
Algorithm Hash digest
SHA256 d1b53d5ddb84be5315b5b9486eed8070eab6d2f9a0fd776fe41a8c39d0bbfbe3
MD5 722b923aadba0a0b5730af65fc6028b3
BLAKE2b-256 50ee9d67ff30d95df45b271224fbd199a78899a66caf15979bca41f9ee33d99d

See more details on using hashes here.

Provenance

File details

Details for the file astx-0.8.0-py3-none-any.whl.

File metadata

  • Download URL: astx-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 14.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.7 Linux/6.2.0-1018-azure

File hashes

Hashes for astx-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e34bc56c0200b059c26fee0d7db6cd14bab9a222e4959e5466d2afd93b72dc8c
MD5 b5b51ac2c349183ba17bb37f315bee4d
BLAKE2b-256 3502331aac64a3e8fedd5c2ac37003453180713c6f46dee1f1bda1d064067eec

See more details on using hashes here.

Provenance

Supported by

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