flat assembler
Message board for the users of flat assembler.

Index > Windows > looking for macros to simulate python (newbe thief)

Author
Thread Post new topic Reply to topic
edexter



Joined: 06 Jan 2009
Posts: 3
edexter 06 Jan 2009, 16:41
I have started to write a basic to fasm compiler in python (with macros I am stealing for windows and dex os) and would like to add a few python commands to my basic syntax so that it can compile itself and because I can't find what I want in shed skin.. I am looking pieces to emulate the following types of python code (as an example)..

infile = open('filename.txt','r')
outfile = open('outfile.txt','w')
for line in infile:
if 'asm' in line:
outfile.write(line)
Post 06 Jan 2009, 16:41
View user's profile Send private message Reply with quote
edexter



Joined: 06 Jan 2009
Posts: 3
edexter 06 Jan 2009, 17:30
here's an example I used to get the dim statements to compile

http://dexrow.blogspot.com/2009/01/flat-basic.html
Post 06 Jan 2009, 17:30
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-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.