flat assembler
Message board for the users of flat assembler.

Index > Windows > [fasmg] Mini Interpreter arthbasic

Author
Thread Post new topic Reply to topic
frankobach26



Joined: 10 Apr 2026
Posts: 16
Location: Kassel
frankobach26 14 May 2026, 14:51
Hello. i have built a little Interpreter with fasmgw x86-64 Bit. The gui has two edit boxes a calculation button and a clear Button.
The menu works to load Text files and save Files.

Features: Double, String, If then.., messagebox (msgbox), simple function with Return are working

Some examples I have collected for Test purpose.
ITS Just a start. All Work in Progress. Feedback is Welcome.
That was hard Work I can say what happened Last weeks to learn more about fasm Assembler language and 64 Bit technology.

The arthbasic.exe File for Testing I add in next Post.

Regards, frankobach26

; examples march-may 2026 by frankobach26
; arthbasic mini interpreter
;
Code:
a=10
s="Hello2",a
print s

print 5*6
s="Hello",5*6
print s

A = 5
B = 2
PRINT A + B * 10

IF A * B >= 10 THEN
    PRINT "Produkt >= 10"
END IF


A = 12
B = 3
C = 0

IF A > 10 AND B < 5 THEN
    PRINT "A > 10 UND B < 5"
END IF

IF A = 10 OR C = 0 THEN
    PRINT "Mindestens eine Bedingung stimmt"
END IF

A = 3
IF A < 10 THEN
    PRINT "A ist kleiner als 10"
    PRINT 123
END IF

PRINT "Fertig"

X = 5
IF X = 5 THEN MSGBOX "Hallo"
IF X <> 5 THEN MSGBOX "Das siehst du nie"

A = 15
IF A > 10 THEN PRINT "Groß"
IF A = 10 THEN PRINT "Genau 10"
IF A < 5 THEN PRINT "Klein"

a = 10
b = 20
print ADD(a, b)
print MUL(a, 3)
print SIN(3.14159/2)
print COS(0)

a = 10
b = 20
FUNCTION Add(a, b)
    RETURN a + b
END FUNCTION

PRINT Add(3, 4)
    


Description:
Filesize: 31.95 KB
Viewed: 239 Time(s)

arthbasic-pic1.jpg




Last edited by frankobach26 on 14 May 2026, 15:04; edited 3 times in total
Post 14 May 2026, 14:51
View user's profile Send private message Reply with quote
frankobach26



Joined: 10 Apr 2026
Posts: 16
Location: Kassel
frankobach26 14 May 2026, 14:57
Hello. Here the arthBasic.exe File for Testing.


Description:
Download
Filename: interpreter-Arthbasic-0246.rar
Filesize: 28.25 KB
Downloaded: 14 Time(s)

Post 14 May 2026, 14:57
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20988
Location: In your JS exploiting you and your system
revolution 14 May 2026, 15:01
frankobach26 wrote:
Hello. Here the arthBasic.exe File for Testing.
The source code would be more interesting.

Exe files can be problematic for AVs.
Post 14 May 2026, 15:01
View user's profile Send private message Visit poster's website Reply with quote
frankobach26



Joined: 10 Apr 2026
Posts: 16
Location: Kassel
frankobach26 15 May 2026, 12:29
Quote:
The source code would be more interesting.

Exe files can be problematic for AVs.


Hello Revolution. Thx. i have Made last years Bad experience with sending complete source Code in other foren. i can send Code snippets If you Like. Do you have any questions?

I am working only with win api Modus. I hate dialog procedere cause they Made a lot of Problems with 64-bit and controls. i am using richedit controls. More to come soon..

i Like fasm very. Didnt know yet such a great tool is existing lol.

Thanks for Feedback
Post 15 May 2026, 12:29
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2026, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.