I think in itself that it is aimed to realize this so.
It is the logical conclusion.
Unfortunately, I do not know if this is so easy to implement.
The possibilities of this construction are very wide.
F:\PureBasic6Alpha\Compilers>gcc --version
gcc (x86_64-posix-seh-rev0, Built by MinGW-W64 project) 8.1.0
Copyright (C) 2018 Free Software Foundation, Inc.
F:\PureBasic6Alpha\Compilers>cc1 -version
GNU C17 (x86_64-posix-seh-rev0, Built by MinGW-W64 project) version 8.1.0 (x86_64-w64-mingw32)
compiled by GNU C version 8.1.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.18-GMP
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
F:\PureBasic6Alpha\Compilers>As -v
GNU assembler version 2.30 (x86_64-w64-mingw32) using BFD version (GNU Binutils) 2.30
What is the value of a multilingual Unicode programming language?
Please ask your questions, because switch on the cognition apparatus decides on the only known life in the universe.Wersten :DDüsseldorf NRW Germany Europe Earth Solar System Flake Bubble Orionarm
Milky Way Local_Group Virgo Supercluster Laniakea Universe
Well, the offer of C codes is almost immeasurably large and there are really very clever little codes.
One can therefore also turn the question around :
What would be the disadvantages if it were supported ?
Actually, it would have only advantages.
Assembler is also supported by PB, which is nothing different in itself.
And C is much easier to understand than assembler.
; EnableC idea with C Preprocesser #include "file.c"
Value.l = 10 ; Declare our own variable
! #include "H:\C2_21\IncValue.c"
; In IncValue.c is only one line: v_value++;
; without exclamation mark every line but With v_, p_, f_, or l_ Prefix for PB things and in lower case.
; #include is with quotation marks and full file path.
SetClipboardText("C Example"+#CRLF$+"Should be 11:" + Value +" :D")
MessageRequester("C Example", "Should be 11: " + Value)
; But for the asm-world, you must do:
! asm volatile ( "xor %r9,%r9");
; C Example
; Should be 11:11 :D
;00000001400011B1 | 4D:31C9 | XOr r9,r9 | r9:EntryPoint
v_value++; // PB variable with v_ Prefix and in lower case.
Please ask your questions, because switch on the cognition apparatus decides on the only known life in the universe.Wersten :DDüsseldorf NRW Germany Europe Earth Solar System Flake Bubble Orionarm
Milky Way Local_Group Virgo Supercluster Laniakea Universe