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
Cool!Suggestion: Make it compile to x86! Since it seems fairly low-level the translation probably wouldn't be hard (in some cases, near-direct translation might work). That way it would be blazingly fast and have a speed advantage
@fuzzyastrocat yea, but transpiler is failed 😭i'll add transpiler 😁
@TheForArkLD Oh, you had a transpiler to x86? (That would be a compiler actually)
@fuzzyastrocat no loli transpiled Obratnaya to C#, and compiled it only.
@TheForArkLD Wait, now I'm confused. What do you mean by "compiled it only"?
@fuzzyastrocat ok look at this1. transpile Obratnaya to C#2. compile it to x86
@TheForArkLD Ok, so you do both/either? (either because you said you stopped the transpiling version)
@fuzzyastrocat either.
@TheForArkLD Ok, so you already compile. I understand now, sorry for the confusion! :D
@fuzzyastrocat :D
@TheForArkLD C# doesn't compile to x86
@CSharpIsGud huh ur brain is bit olduse System.Reflection.Emit
@TheForArkLD https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit?view=netcore-3.1 Microsoft intermediate language (MSIL)https://en.wikipedia.org/wiki/Common_Intermediate_Language
Microsoft intermediate language (MSIL)
C# is compiled to a bytecode first, then it is run(JIT) by its vm(.NET runtime)
@CSharpIsGud oh, thanks for fix my brain
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?
Cool!
Suggestion: Make it compile to x86! Since it seems fairly low-level the translation probably wouldn't be hard (in some cases, near-direct translation might work). That way it would be blazingly fast and have a speed advantage
@fuzzyastrocat yea, but transpiler is failed 😭
i'll add transpiler 😁
@TheForArkLD Oh, you had a transpiler to x86? (That would be a compiler actually)
@fuzzyastrocat no lol
i transpiled Obratnaya to C#, and compiled it only.
@TheForArkLD Wait, now I'm confused. What do you mean by "compiled it only"?
@fuzzyastrocat ok look at this
1. transpile Obratnaya to C#
2. compile it to x86
@TheForArkLD Ok, so you do both/either? (either because you said you stopped the transpiling version)
@fuzzyastrocat either.
@TheForArkLD Ok, so you already compile. I understand now, sorry for the confusion! :D
@fuzzyastrocat :D
@TheForArkLD C# doesn't compile to x86
@CSharpIsGud huh ur brain is bit old
use System.Reflection.Emit
@TheForArkLD https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit?view=netcore-3.1
Microsoft intermediate language (MSIL)
https://en.wikipedia.org/wiki/Common_Intermediate_Language
C# is compiled to a bytecode first, then it is run(JIT) by its vm(.NET runtime)
@CSharpIsGud oh, thanks for fix my brain