Skip to content

Sodium is a general purpose programming language which is instruction-oriented (a new programming concept that we are developing and devising) [Still developing...]

License

Notifications You must be signed in to change notification settings

Valcan3344/Sodium-Programming-Language

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sodium Programming Language

Sodium is a general purpose programming language which is instruction-oriented (a new programming concept that we are developing and devising)

Support / Contact

https://discord.gg/CGz259ZR
or friend on discord Valcan#1407 (The assistant developer)

Running The Code (In Python)

  1. Open terminal
  2. You type python sodium.py file_name.
  3. Then You press enter.
  4. Your code should run.

Running The Code (In C)

  1. Compile srcc/sodium.c

Introducing The Concept of Instruction Oriented Programming

Instruction-oriented programming is a new programming concept which is a little bit similar to the historical significant programming concept, functional programming. The basic concept of instruction oriented programming is simple: Every keyword is an instruction

print "Hello, World!"

store "Hello, World!" msg

Defining a function is tantamount to appending a new keyword

define myPrint msg
print "My print: " + msg
end
myPrint "Hello World!"

Output:

My print: Hello World!

There are several advantages of an instruction-oriented programming language. Firstly, the syntax of the language would be eminently simple compared to some highly complicated programming languages such as Python, Java, and C. Secondly, theoretically these kinds of languages would be remarkably efficient due to the simplicity of their syntax. Last but not least, instruction oriented programming languages would be more nimble than procedural and functional programming languages. While the traditional programming languages are rapidly improving, the new concepts of programming are also developing in a very fast way. I truly believe that the concept of instruction-oriented programming will contribute to the contemporary programming area if we continuously contribute to the instruction-oriented programming language. As you can see, the syntax of an instruction oriented programming language is accessible and casual. The first token of a statement is always a keyword, and the tokens behind are the arguments of the keyword, yet we call them connectors because they serve as connectors or interfaces between programmers and the interpreter. The keywords in here are called instructions because they look like separate commands to a computer, that is the reason why this type of programming languages are named as instruction oriented programming languages. Compared to languages like C++ and Java, this type of language has advantages in readability.

About

Sodium is a general purpose programming language which is instruction-oriented (a new programming concept that we are developing and devising) [Still developing...]

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.5%
  • C 0.5%