Skip to main content

Jac programming language - Python-like syntax, compiles to Python bytecode, JavaScript, and native machine code with novel constructs for AI-integrated programming.

Project description

This is the main source code repository for the Jac programming language. It contains the compiler, language server, and documentation.

What and Why is Jac?

  • Ecosystem-Native Multi-Target Compilation - With Python-like syntax, Jac compiles to Python bytecode, JavaScript, and native machine code (C-ABI compatible). This means every library in PyPI, npm, and native C ecosystems is directly usable from Jac without interop wrappers or foreign function interfaces. Every Jac program can also be ejected to readable Python, and Python programs can be transpiled to Jac.

  • AI as a Programming Language Constructs - Jac includes a novel (neurosymbolic) language construct that allows replacing code with generative AI models themselves. Jac's philosophy abstracts away prompt engineering. (Imagine taking a function body and swapping it out with a model.)

  • New Modern Abstractions - Jac introduces a paradigm that reasons about persistence and the notion of users as a language level construct. This enables writing simple programs for which no code changes are needed whether they run in a simple command terminal, or distributed across a large cloud. Jac's philosophy abstracts away dev ops and container/cloud configuration.

  • Quality-of-Life Beyond Python - Jac introduces modern operators, new comprehension forms, and module organization that separates declarations from implementations -- going beyond what Python offers while remaining familiar.

Quick Start

To install Jac, run:

pip install jaclang

Run jac in the terminal to see whether it is installed correctly.

Read "Getting Started" from Docs for more information.

Installing from Source

If you really want to install from source (though this is not recommended):

# with a local clone at `path/to/repo`:
pip install path/to/repo/jac
# or to have `pip` clone for you:
pip install git+https://github.com/jaseci-labs/jaseci#subdirectory=jac

Getting Help

Submit and issue! Community links coming soon.

Contributing

See CONTRIBUTING.md.

License

Jaclang is distributed under the terms of both the MIT license with a few other open source projects vendored within with various other licenses that are very permissive.

See LICENSE-MIT, and COPYRIGHT for details.

Trademark

Jaseci owns and protects the Jaclang trademarks and logos (the "Jaclang Trademarks").

If you want to use these names or brands, please read the media guide.

Third-party logos may be subject to third-party copyrights and trademarks. See Licenses for details.

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

jaclang-0.15.3.tar.gz (9.6 MB view details)

Uploaded Source

Built Distribution

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

jaclang-0.15.3-py3-none-any.whl (12.0 MB view details)

Uploaded Python 3

File details

Details for the file jaclang-0.15.3.tar.gz.

File metadata

  • Download URL: jaclang-0.15.3.tar.gz
  • Upload date:
  • Size: 9.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for jaclang-0.15.3.tar.gz
Algorithm Hash digest
SHA256 1b8f60e76d8d7e5aeb9291d63f0f581c2ce2392a910fe659b37c605349a4b335
MD5 c38dc9d63e5e19d3cf891fa1632556a4
BLAKE2b-256 3bb18ac28fdb68821c77ae75e3bb265bb02741a2cd2d9340e38d3fbf831cc78e

See more details on using hashes here.

File details

Details for the file jaclang-0.15.3-py3-none-any.whl.

File metadata

  • Download URL: jaclang-0.15.3-py3-none-any.whl
  • Upload date:
  • Size: 12.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for jaclang-0.15.3-py3-none-any.whl
Algorithm Hash digest
SHA256 872333e6f002668c0359d9124658ca30d6fb6e9fe11ef9870a2deed6a9e4e58b
MD5 9e5f0393c83084038277fa6af36c8c9d
BLAKE2b-256 26d9f5c9fceb7cd3d9b06039d3b432d94edda1b7d75669750af3e703d39b6639

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