Programing language that compiles to C.

Overview

Ekalang

Ekalang is a simple programming language that can be interpreted during the development phase and then compiled into C. Its goal is to make small programs in C without problems of pointers or memory and without having to recompile each time the program.

You can start testing the language on the online IDE

This repository contains:

  • the compiler (transpiler) library written in js with typescript
  • The online IDE / playground to test code without downloading the CLI
  • The VSCode extension to get the syntaxic coloration
  • The CLI of the compiler

Example

Print every number between 0 to 10

init int index
affect index 0
print string "Looping from 0 to 10"
while LE index 10
 print int index
 affect index ADD 1 index
end

Functionality

Current features

  • Basic types (integer, boolean, string)
  • Variable creation/affectation
  • Numerical/Boolean operations
  • Numerical comparaisons
  • Flow control while, if/else

Next features to be implemented

  • Read user input
  • Functions
  • Array
  • Data structure
You might also like...

⚡ Extremely fast online playground for every programming language.

Riju Riju is a very fast online playground for every programming language. In less than a second, you can start playing with a Python interpreter or c

Dec 28, 2022

A lexical analyzer based on DFA that made by JS and supports multi-language extension

A lexical analyzer based on DFA that made by JS and supports multi-language extension

lexer 一个基于DFA法的支持多语言扩展的JS版开源词法分析器,快速了解与体验请查看线上网站 It is a lexical analyzer based on DFA that made by JS and supports multi-language extension. For quic

Dec 21, 2022

Placebo, a beautiful new language agnostic diagnostics printer! It won't solve your problems, but you will feel better about them.

Placebo, a beautiful new language agnostic diagnostics printer! It won't solve your problems, but you will feel better about them.

Placebo A beautiful new language agnostic diagnostics printer! ┌─[./README.md] │ 1 │ What is Placebo? · ───┬──── ·

Dec 16, 2022

Website for the Io Language. Includes documentation

Website for the Io Language. Includes documentation

TheIoLang Website Contributors ✨ Thanks goes to these wonderful people (emoji key): Dillon Barnes 💻 🖋 🎨 🚇 anime fanatic 📆 This project follows th

Dec 22, 2021

Safe and controlled language for scripting.

Retagged Custom simplified language created for Aun. Keep in mind this is mainly made for Aun and under heavy development. Installation Coming soon...

Jan 13, 2022

A cross-platform AutoHotKey-like thing with TypeScript as its scripting language

suchibot A cross-platform AutoHotKey-like thing with JavaScript/TypeScript as its scripting language. Built on top of uiohook-napi and nut.js. Install

Sep 21, 2022

Typed HyperText Markup Language

Typed HyperText Markup Language You can add types to the HyperText Markup Language. Types To declare two types, they must be separated by a period and

Jan 22, 2022

Programming language makes by hobby 3

Joule Programming language makes by hobby 3 About It's a compiled programming language written in JavaScript :/. Codes compile into Assembly code tha

Feb 17, 2022
Owner
Ekazuki
Web dev i guess ?
Ekazuki
Gleam is a beautiful little language that compiles to JS and to Erlang.

Gleam is a beautiful little language that compiles to JS and to Erlang. Esbuild is an excellent little js bundler. It's a great match! ??

Benjamin Wireman 5 Apr 5, 2022
A type programming language which compiles to and interops with type-level TypeScript

Prakaar Prakaar (hindi for "type") is a type programming language which compiles to and interops with type-level TypeScript. Prakaar itself is also a

Devansh Jethmalani 17 Sep 21, 2022
A declarative way of doing asynchronous programing with Typescript.

Deasyncify A declarative way of doing asynchronous programing with Typescript. Overview Getting started Issues Installation Usage Methods watch watchA

Joseph Tsegen 4 Jun 19, 2022
Plugin builder that compiles to several different discord client mods.

Builder Plugin builder that compiles to several different discord client mods. Supports Powercord Unbound Asstra BetterDiscord Installation git submod

Strencher 5 Dec 1, 2022
CancerDB: A public domain knowledge graph about cancer treatments that compiles to a CSV file.

CancerDB: A public domain csv file to help build the next great cure CancerDB is a public domain database and website containing facts about all types

Breck Yunits 21 Dec 15, 2022
A Svelte parser that compiles to Mitosis JSON, allowing you to write Svelte components once and compile to every framework.

Sveltosis Still in development A Svelte parser that compiles to Mitosis JSON, allowing you to write Svelte components once and compile to every framew

sveltosis 70 Nov 24, 2022
i18n-language.js is Simple i18n language with Vanilla Javascript

i18n-language.js i18n-language.js is Simple i18n language with Vanilla Javascript Write by Hyun SHIN Demo Page: http://i18n-language.s3-website.ap-nor

Shin Hyun 21 Jul 12, 2022
When a person that doesn't know how to create a programming language tries to create a programming language

Kochanowski Online Spróbuj Kochanowskiego bez konfiguracji projektu! https://mmusielik.xyz/projects/kochanowski Instalacja Stwórz nowy projekt przez n

Maciej Musielik 18 Dec 4, 2022
Write "hello world" in your native language, code "hello world" in your favorite programming language!

Hello World, All languages! ?? ?? Write "hello world" in your native language, code "hello world" in your favorite language! #hacktoberfest2022 How to

Carolina Calixto 6 Dec 13, 2022
Break the barrier of your country, language and distance...

HACK ON 2.0 PROJECT METAFRATIS Break the barrier of your country, language and distance... PROBLEM OUR PROJECT SOLVES With the onset of Covid-19 we ha

Snehasish Dhar 16 Jul 6, 2021