Skip to content
This repository has been archived by the owner on Jun 27, 2022. It is now read-only.

Para-Lang/para-compiler

Repository files navigation

The Para language and Compiler

Latest Release PyPI version Py Versions License Documentation Status Coverage codecov paralang-base

Build Codecov PyTest Linux PyTest MacOs PyTest Win Documentation Status

Key-Features

Planned/Intended features (Development is still ongoing)

  • Ability to streamline calling processes and handling arguments and return data.
  • Multi-Threaded processing, which allows extensions / other programs to be run inside each thread.
  • Ability to manage exceptions and also define fallbacks. This is also supported for extensions that fail.
  • Extended Base-Library (Para Base Library) with additional types and functions.
  • Decorator and Overload Functions.
  • Simplified syntax and handling of C components for easier coding.
  • Provide more Security by forbidding variable shadowing and removing undefined behaviour.

Introduction

Para (From Greek "para": Beside/Alongside) is a programming language that is designed to integrate other languages and allow for advanced management of embedded programs / code-bases inside a program, where the language will serve as a base for writing overhead and "connector" programs, which can manage instances, listen for events, stop and start processes and manage in- and out-data.

Commands

Commands displayed are mostly only partly implemented

Name Description
para compile Compiles a Para program to C or an executable.
para run Compiles a Para program and runs it.
para syntax-check Validates the syntax of a Para program and logs errors if needed. (Pre-Processor ignored)
para analyse Analyses a program and validates the syntax (Pre-Processor included - macros required)

Docs

Our documentation can be found here.

Python Module

PyPI version

Besides, the option to compile the python code into a binary executable using pyinstaller, you may also directly utilise the paralang_source source module, which provides the compiler source code that can be run in other python scripts.

For reference on the pypi module please go to the documentation page here.

Installation

For reference on the installation please go the documentation page here.

Copyright and License

License FOSSA Status

Copyright (C) 2021-2022 Luna Klatzer

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

See the LICENSE for information on terms & conditions for usage.

FOSSA License Report

FOSSA Status