Friday, June 2, 2023

The Structure - Build & Deconstruct



The structure will work as a operating system. Will add stuff in to the structure and remove it . 

We will have 2 methods,Build (named to not repeat any stuff) and Deconstruct. 

In the example we are going to see a simple method to build a math.h library in to the install list, and a over view of the installed things. also the deconstruct to uninstall the library. This is under develop things may change but think you get the point how we can do all this stuff width just command width out using any graphical environment.


The possibility's to the Build & Deconstruct methods and very large. In here i'm just touching the surface.


My seem a bit redundant but maybe you are not seeing the possibility's. Less people programming, accessing others build methods, find faster the dependency's and errors, manipulate the project without touching the code, etc...


[code]


int build_math_lib ()

{

structure_includes_amount++;

structure_abbreviation = "LIB";

structure_name = "math";

structure_includes = "#include <math.h>";

  structure_dependency's = {"exp", "double tanh"...};

structure_files = {"simulator", "RTS"};

return 1;

}


int deconstruct_math_lib()

{

structure_includes_amount--;

structure_name = "math.h build in";

structure_includes = "#include <math.h>";

structure_dependency's = {"exp", "double tanh"};

structure_files = {"simulator", "RTS"};


        return 1;

}


[/code]


Structure over view : 


Example of a structure list

Structure

name : The Box

includes : 100

files : 500

functions : 300

variables : 1000

dependency's : 2000

Installed :

lib math (battle_simulator, main, calculator)

lib string ()

lib limiths

lib stdio

lib stdlib

lib time 

lib standard_variables

lib standard_variables_game

lib standard_functions

lib standard_functions_game

script player_move

window 3D enviorment

sound wave

sound ogg

img JPG Compress

img JPG 

img PNG

OS Linux bindings

OS Windows bindings

OS  bindings  

DB mysql

DB mongo

No comments:

Post a Comment

hi

Media Fire

 Xml file for macros now at Media fire.