Obratnaya replSource@SixBeeps @RaidTheWeb @NoNameByProgram Here is post!
Table for features
#include <stdout.oba> .main: push Hello, world! push msgln call @ ret
#include <stdout.oba> .data: .empty .empty .empty .decimal 100 .main: mov 3,@ sub @,1 movd @,3 mov 3,@ push bottles of beer on the wall, concat @,@ mov 3,@ push bottles of beer, concat @,@ concat @,@ push msgln call @ mov 3,@ sub @,1 movd @,3 push Take on down, pass it around, push msgln call @ mov 3,@ push bottles of beer on the wall concat @,@ push msgln call @ jmp 5
c-assembler hybrid? Huh.. I wonder how the preprocessor works...
@firefish wdym
@TheForArkLD The C pre-processor? gcc -E?
gcc -E
@firefish no
@TheForArkLD It basically replaces the #include statements with the raw source code of the header files included, when you #define something it replaces all instances of that reference to the value of the macro
#include
#define
@firefish ahhhh, so you want know how does #include work?
@TheForArkLD in obratnaya yeah, I want to look at the source, but I can't find it easily, and my C# decompiler is acting up
@TheForArkLD Forgot to look at GitHub my question is answered
slft += File.ReadAllText(path).Split(new char[]{'\n'}).Length - 1; all = (File.ReadAllText(path) + "\n" + Regex.Replace(code.Replace("\r",""),@"#include " + oldpath + "\n","")).Split(new char[]{'\n'}); code = File.ReadAllText(path) + "\n" + Regex.Replace(code.Replace("\r",""),@"#include " + oldpath + "\n","");
it works the same way as in c
@firefish o
@TheForArkLD bratnaya?
@firefish wat
@TheForArkLD you said o, and i said bratnaya?
o
bratnaya
@firefish ahhhh ok(btw my o means oh)
oh
@TheForArkLD I know, it's just jokes are.... aaarrrggrhaghgharghgahghagrhghgrarghargharghagrhgarhgarhg,
@firefish yossss
Obratnaya
Obratnaya repl
Source
@SixBeeps @RaidTheWeb @NoNameByProgram Here is post!
Table for features
Samples
Hello world
What does this program do?
99 Bottles of beer
What does this program do?
c-assembler hybrid? Huh.. I wonder how the preprocessor works...
@firefish wdym
@TheForArkLD The C pre-processor?
gcc -E
?@firefish no
@TheForArkLD It basically replaces the
#include
statements with the raw source code of the header files included, when you#define
something it replaces all instances of that reference to the value of the macro@firefish ahhhh, so you want know how does
#include
work?@TheForArkLD in obratnaya yeah, I want to look at the source, but I can't find it easily, and my C# decompiler is acting up
@TheForArkLD Forgot to look at GitHub my question is answered
it works the same way as in c
@firefish o
@TheForArkLD bratnaya?
@firefish wat
@TheForArkLD you said
o
, and i saidbratnaya
?@firefish ahhhh ok
(btw my
o
meansoh
)@TheForArkLD I know, it's just jokes are.... aaarrrggrhaghgharghgahghagrhghgrarghargharghagrhgarhgarhg,
@firefish yossss