Logic Embedded in Graphical Design (LEGD)

Graphical programming language, to create all types of applications, whether its multi-threaded applications, server-side applications, kernel modules, or control systems.

LEGD


LEGD is an intelligent programming language, which allows programmers to architect a software system graphically, while permitting logic to be written as text. It helps users to further develop and maintain the design along with logic easily, and reduces the development time drastically.

Writes optimized code (as per requirements) for the designed system automatically within a few seconds. The generated code can be in the preferred languages like, C/C++, Java, Python, JavaScript, Embedded-C, Arduino, Android, etc.

Salient Features

Complex multi-threaded applications can be developed

Control systems with many controllers can be designed as single application

Can generate code in multiple languages

Intelligently incorporates design into logic for final code generation

Developed software is always consistent to the design

Right granularity of graphics for easy exploration



LEGD Logic

Separation of Logic from All Declarations

Logic can be written using case-insensitive sentences. Does not allow the variables, data structures, and other elements to mix with the logic, while giving user to flexibility to use and explore all other relevant variables for a function block by making them readily available. It keeps the logic small, tidy and easy to read.

Grammar is very intuitive and simple with very few keywords. Most of the programming constructs and corresponding options are in graphical layout.

LEGD Generated Code

Generated Code of Applications

Generated code can be in one or more of the selected languages (C, Java, JavaScript, Python, Embedded-C, Arduino, etc.). The generated applications are complete within themselves and can be compiled and run without dependencies.

Intelligent Customization of Data-structures

Data Structures and Inter-Thread Communication

LEGD customizes all the data-structures and communications intelligently, based on the information extracted from design and logic. This leads to a highly optimized and customized code for the system.

Many options available for inter-thread communication and data-structures, which can be changed by choosing on Graphics. Lock-free data-structures, which are difficult to maintain and time consuming to develop, can be used directly in the system.

LEGD Queues and Threads
Strictly Typed Language

Type System and Variables

Variables of any function blocks, global-variables, structures-definitions are managed separately, and are shown in the corresponding places neatly with all backward references.

All the constants, structures/complex-types are managed separately in graphics.

LEGD defining variables
Clients, Servers, Timers

Composite System Elements & Thread Management

LEGD gives flexibility to add many composite elements in the application, like, servers (TCP/UDP), clients, timers, etc.

Any function chain can be marked as a separate thread or a suit of threads, and LEGD writes the code accordingly.

LEGD design and architecture

LEGD: A Leap in Intelligent Programming

Factotum and Other financial products from Cogmac are developed in LEGD, and turn out be very low-latency systems, having sub-microsecond wire-to-wire latency.

We are continuously working on LEGD to make it one of the next-generation intelligent programming language, and aiming to introduce it to the world, soon.

Write Us