JavaScript/EcmaScript interpreter

2017-04-17 Thread Sławomir Lach
Hi. I am Lach Sławomir from Poland, Bytom. I am beginner developer in C/C++, Python, TypeScript, EcmaScript, etc. I'm wonder how wonderful stuff can be done if GNU Compilers Collection allow developers to use JavaScript inside other language code as preprocessor. - Developer could use arrays - D

Re: JavaScript/EcmaScript interpreter

2017-04-17 Thread Sławomir Lach
Sorry, but my code have two bugs. I correct it in this mail. Sławomir Lach. W dniu 17.04.2017, pon o godzinie 10∶20 +0200, użytkownik Sławomir Lach napisał: > Hi. > > I am Lach Sławomir from Poland, Bytom. I am beginner developer in > C/C++, Python, TypeScript, EcmaScript, etc. >

About new possibilities.

2018-07-17 Thread Sławomir Lach
This message (https://gcc.gnu.org/ml/gcc/2018-07/msg00233.html) just reminder me about my idea to allow using JavaScript with regular expression with connection to C preprocessor to make things easier in C? For example - define macro-definition, with adds builds structure definition based on inf

C language extension - Automatically cast

2021-05-02 Thread Sławomir Lach
In desperation made by programming in GTK+ I realized, some of object languages could been implemented in C, but only these not require to made changes in programs in runtime (compiler output). One of items is automatically cast. For example I declared variable called Button of GtkButton and pa

Save/Store information, which variable are not initialized

2022-03-04 Thread Sławomir Lach
I known, IDE will detect cases, whereas variable is not initialized, but some developers still have problems with variable initialization. I suppose gcc do not support any run-time sanitizer, because I do not found any information. So: gcc will introduce hidden array of variables for each conte

Learning hardware optimization patch

2022-11-15 Thread Sławomir Lach
I am wonder if this will be good choice to allow gcc to generate AI data about best optimization approach on user computer. Yes. GCC team will provide source code for some examples and (once low hardware consumption) made gcc to compile these sources with various optimization patch. It will tak

Re: Learning hardware optimization patch

2022-11-15 Thread Sławomir Lach
Dnia wtorek, 15 listopada 2022 19:42:13 CET Sławomir Lach pisze: > I am wonder if this will be good choice to allow gcc to generate AI data > about best optimization approach on user computer. > > Yes. GCC team will provide source code for some examples and (once low > hardware co

can-be-null can-not-be-null break-instruction for better handling pointers.

2023-04-27 Thread Sławomir Lach
I am not C expert, so be polity. I do not see something similar in C world, but similar techniques in other languages, such like Vala. I suggest to create two new pointer type: 1. can-be-null 2. cannot-be-null (You must find other words to describe it behavior). First enforces to compiler checki