Skip to content

Jaseci-Labs/jaclang

Repository files navigation

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

What and Why Jac?

  • Native Superset of Python - Jac is a native superset of python, meaning the entire python ecosystem is directly interoperable with Jac without any trickery (no interop interface needed). Like Typescript is to Javascript, or C++ is to C, Jac is to Python. (every Jac program can be ejected to pure python, and every python program can be transpiled to a Jac program)

  • 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.

  • Jac Improves on Python - Jac makes multiple thoughtful quality-of-life improvements/additions to Python. These include new modern operators, new types of comprehensions, new ways of organizing modules (i.e., separating implementations from declarations), etc.

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), see INSTALL.md.

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.