Skip to content

toni5757/TheCPP-Programming-Language

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to TheCPP-Language-Code programming language

Small Description

This is a simple programming languag written by TheCPP in under 1.000 lines of code. It includes:

preprocessor definitions

variables (using is in process)

And I want to add much more things.

[TODO]

Type of change Done
Variables X
-detaction Done
-using X
Funktions X
-detaction Done
-calling X
-using X
Inline Assembler funktion Done
Preprocessor X
-#define Done
-#ifdef Done
-#ifndef Done
-#endif Done

Using

  1. You must compile the code with Visual Studio.
  2. Then you can write your TheCPP-Language-Code in a file named by Programm.txt
  3. Now you can compile the TheCPP-Language-Code. The compiler print the created the assembl code
  4. Then you must only assemlber the code and you can run it.

Example

Hello World

function main() {
    print("Hello World!");
}

It´s create a function named by main. In that function we call the print function that prints Hello World! When you run this programm:

>TheCPP-Language-Code Programm.txt
Hello World!

Preprocessor definition

#define HELLO_WORLD "Hello World"
function main() {
    print(HELLO_WORLD);
}

When you run it, it prints Hello World.

>TheCPP-Language-Code Programm.txt
Hello World!

-->For more informations read the doc.md<--

Public error detected by me:

#ifdef isn´t not functunally. It detect not the first and the second letter of the word to process it.

Bit of words

I hope that you download my language.
If you detect an error please report that. Much is in progress. Thank you for reading.

About

A simple programming language

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages