advaitsangle / unilang

A universal programming language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A universal programming language

Introduction

Summary

Unilang is a project for everything related to programming. It has a graphical and textual fronted for software development. The language unifies with other languages through transcompilation. It was written to automate and improve the productivity of a single person, but you might find something useful in it as well.

Philosophy

The creation of this language is different from most other programing languages because it rejects the idea of traditional lexical analysis and language grammars. Programming in Unilang is focused on providing concept values for a language meta-model. This avoids the strategy where syntactical expressions are parsed into ASTs in which pragmatic meaning is often lost during correlation. A longer description for the rationale around Unilang's design is covered in the remaining subsections.

GPL Shortcomings

Despite their name, general-purpose programming languages (GPLs) become associated with specific niches that target particular programming domains. Due to the differences between these languages (both internal and external to their design), evaluations on the problem space lead to different languages being chosen. A cross-domain problem is then solved through a mixture of languages. Under such circumstances, individual GPLs have not proven general enough as the solution to the entire problem space. Unilang's stance is that the amalgamation of different languages could be an implementation detail below a more conceptually pure representation of the full problem ontology. We consider different languages within the same ontology to be less productive for establishing insight and enabling change over time. It is better to have the entire problem space of software encoded from the same unifying model. A unifying language can operate as a transcompiler to other existing GPLs.

The Next Layer

Unilang is a universal programming language (UPL). A UPL has not been formally defined prior to this document, but as an informal definition, envision a UPL as a language abstraction over GPLs and IDLs. UPLs are a universal encoding for developing software.

Addressing Scope

Creating a language that could properly be the right choice for every programming domain sounds impractical. Domains can have opposite requirements. Trying to encode everything necessary for all domains would result in something so complicated, contradictory, and convoluted that it would defeat the purpose it set out to accomplish. It would become too difficult to use in any domain. These concerns are critically important, and we acknowledge them here as they have been influential in Unilang's design. If Unilang were built in the traditional way that GPLs are, we would certainly hit many of these problems. We instead take different approaches toward a language's role in facilitating software. Unilang is an experiment to challenge these concerns and to try and innovate ways around them.

Development

Build

The IDE can be used the following way.

git clone git@github.com:luxe/unilang.git
cd unilang
./user_run_optimized //code/tools/ide:main

Various CIs are used to test the correctness of the build. Referencing these builds may help you acquire any additional dependencies. The reason we use multiple CIs is to ensure a general consensus and catch any outlying issues. However, these services have limitations at their free tier, and so full builds/tests are not performed.

Continuous Integration Status Notes
App Veyor Build status Bootstraps Build
Circle CircleCI Bootstraps Build
Cirrus Build Status Bootstraps Build
Codeship Codeship Status for luxe/unilang Bootstraps Build
Drone Build Status Bootstraps Build
Scrutinizer Build Status Bootstraps Build
Semaphore Build Status Bootstraps Build
Shippable Run Status Bootstraps Build
Travis Build status Bootstraps Build

The unilang schema is used to encode the concept tree and can be enforceable during projectional editing.

Contribute

There are no rules. Make a ticket about anything. We'll figure it out together.

About

A universal programming language


Languages

Language:C++ 39.4%Language:Fancy 32.2%Language:Starlark 7.8%Language:C 7.2%Language:Makefile 6.8%Language:Shell 2.0%Language:HTML 1.0%Language:JavaScript 1.0%Language:Assembly 0.7%Language:CSS 0.6%Language:Python 0.4%Language:Visual Basic .NET 0.4%Language:PHP 0.1%Language:CoffeeScript 0.1%Language:Verilog 0.1%Language:Scheme 0.0%Language:Cool 0.0%Language:Lex 0.0%Language:NSIS 0.0%Language:Dockerfile 0.0%Language:Prolog 0.0%Language:Ruby 0.0%Language:Red 0.0%Language:SAS 0.0%Language:R 0.0%Language:TeX 0.0%Language:Objective-C 0.0%Language:Cap'n Proto 0.0%Language:Java 0.0%