Friday, June 2, 2023

New Programming Language


Linked vs Math Languages


Doing a bit of research on how to build a programming language to fit this new style, and to put things to work like the layer, a method debated a few posts before. Which inside the programming language is not that easy to make. Some things are better to develop on a new programming language.


One think that i was looking at programming languages and notice they are heavyly matematical. If you don't like math, well you are in trouble. But since programming does not need to be mathematical since it is related to though can be linked.


This is the progress that i made. We simple just not declare variables but also all there propertys, a bit like OOP but just in variables. We use diferente simbols to instanciante and declare. Because it may contain functionality. 


The code will drecrease like "30" lines to just 3?


Function - operatores, and funcionality

Relations - how is related, to declare arrays and list

Connections - declaring scoops, like put a variable inside a function width out putting it there manualy.


ª declare

& call

º override


* this = is updated to just - . The other one is a operator, which is a bit ilogical to be in the code declarations.  


Index for declaring variables :


Simbol, name,  type , size, error , function, relations, connections




[code]


Declare


ª, array_names , array , 255 , "array_name invalid", array_add(), "" , "";

ª, counter , int , bool , "counter invalid", ++; max 100 , "" , "";

ª, LOOP, function,

ª, repeat, int , bool , "counter invalid", repeat , "" , "";

ªarray_names - "lyberta", "scamerson", "dread knight", "ninja".


Logic


%repeat,

&counter,

&print,


[/code]

No comments:

Post a Comment

hi

Media Fire

 Xml file for macros now at Media fire.