flat assembler
Message board for the users of flat assembler.

Index > Projects and Ideas > FASMWADD 0.02d Keyword Highlighting (Updated 22/02/2007)

Goto page 1, 2  Next
Author
Thread Post new topic Reply to topic
Raedwulf



Joined: 13 Jul 2005
Posts: 375
Location: United Kingdom
Raedwulf
Have a look at FASMW mod, FASMWADD - Fasm Additions Smile
Spent a few hours over the last two days to bring keyword highlighting to FASMW Smile

There's only one modified source file: FASMW.asm renamed to FASMWADD.asm

Binary and source file included, source file will only compile in the same directory and the FASMW.ASM source file.

Cheers!, read the top of the FASMWADD.asm for info.

Latest Update:
Added WhiteWight's Systray Minimiser option to FASMWADD (22/02/2007)


Description: FASMWADD 0.02d by Ralph Eastwood
Download
Filename: FASMWADD_002d.zip
Filesize: 82.16 KB
Downloaded: 572 Time(s)


_________________
Raedwulf


Last edited by Raedwulf on 22 Feb 2007, 12:29; edited 8 times in total
Post 22 Dec 2006, 17:15
View user's profile Send private message MSN Messenger Reply with quote
Tommy



Joined: 17 Jun 2003
Posts: 492
Location: Norway
Tommy
Good! But when trying to change color on directives, instructions, registers and preprocessor directives, they don't change.. They do in the Appearances dialog, but when I click OK, they reset to their original colors...
Post 23 Dec 2006, 13:29
View user's profile Send private message Visit poster's website Reply with quote
Raedwulf



Joined: 13 Jul 2005
Posts: 375
Location: United Kingdom
Raedwulf
Fixed in version 0.02. Label colouring supported
Post 23 Dec 2006, 16:40
View user's profile Send private message MSN Messenger Reply with quote
Tommy



Joined: 17 Jun 2003
Posts: 492
Location: Norway
Tommy
great! Smile now it's working.. btw, label highlighting doesn't work if the label got spaces in front of it.. Sad can u fix that too? merry x-mas! Smile
Post 23 Dec 2006, 17:26
View user's profile Send private message Visit poster's website Reply with quote
Raedwulf



Joined: 13 Jul 2005
Posts: 375
Location: United Kingdom
Raedwulf
yes I will thanks Smile
Post 23 Dec 2006, 19:00
View user's profile Send private message MSN Messenger Reply with quote
MichaelH



Joined: 03 May 2005
Posts: 402
MichaelH
Thanks Raedwulf, that's great. I like programs that don't go overboard with features but feel FASMWADD needs "find in files" and execute programs that capture the output. It would then be a great editor. The only other thing that could be added is "recent file list" (not using the registry of course) and maybe a spell check and I would then have a new favourite all purpose editor.
Post 24 Dec 2006, 05:28
View user's profile Send private message Reply with quote
Raedwulf



Joined: 13 Jul 2005
Posts: 375
Location: United Kingdom
Raedwulf
Sure, those sound 'not too hard' to add Smile

I was wondering whether to have a full label parser, to store lists of labels so you can go to the labels quickly. But I'm not too sure how to use the memory FASM already allocates, I'll have a look into this.

Find in Files - do you want some sort of folder (gosh whats wrong with me - its a directory ^^) path specified and then search for words within?

OOO Smile, I notice there's a regular expressions engine in the Project And Ideas forum Smile. Can you guess what that means? Smile

Cheers.
Post 24 Dec 2006, 06:06
View user's profile Send private message MSN Messenger Reply with quote
MichaelH



Joined: 03 May 2005
Posts: 402
MichaelH
A full label parser, that would be cool. What ever you do, try not too add too much and turn it into bloatware.
Post 24 Dec 2006, 08:36
View user's profile Send private message Reply with quote
Raedwulf



Joined: 13 Jul 2005
Posts: 375
Location: United Kingdom
Raedwulf
Yes true, I'd like to keep it FASMW-ish without making it too big. The full label parser would be to just allow fast browsing to different parts of the code and to syntax highlight all the labels. I will probably 'cheat' by having it hardcoded for procs because to do it properly would be to preprocess the entire fasm source to work out everything (slow).

For the curious, what I've done to highlight the keywords is make use of the keyword tables used by the assembler, rather than bloating up an external file. However, additional keyword colourings could possibly be used for custom macros etc., which can be set inside fasmwadd.ini in the next version (?)

Cheers.
Post 24 Dec 2006, 14:12
View user's profile Send private message MSN Messenger Reply with quote
RedGhost



Joined: 18 May 2005
Posts: 444
Location: BC, Canada
RedGhost
Nice work I'll use it for sure, now the tough part, finding black background + white text and colour options that don't blind me!

_________________
redghost.ca
Post 26 Dec 2006, 07:52
View user's profile Send private message AIM Address MSN Messenger Reply with quote
dead_body



Joined: 21 Sep 2005
Posts: 188
Location: Ukraine,Kharkov
dead_body
good thing, waiting for news...
Post 26 Dec 2006, 11:16
View user's profile Send private message Reply with quote
Raedwulf



Joined: 13 Jul 2005
Posts: 375
Location: United Kingdom
Raedwulf
Busy for the time being...but I will get back to this! Smile
Post 26 Dec 2006, 13:22
View user's profile Send private message MSN Messenger Reply with quote
Raedwulf



Joined: 13 Jul 2005
Posts: 375
Location: United Kingdom
Raedwulf
RedGhost wrote:
Nice work I'll use it for sure, now the tough part, finding black background + white text and colour options that don't blind me!


Can't you change this in the appearance options already?

_________________
Raedwulf
Post 26 Dec 2006, 13:23
View user's profile Send private message MSN Messenger Reply with quote
dead_body



Joined: 21 Sep 2005
Posts: 188
Location: Ukraine,Kharkov
dead_body
Code:
         ret        
                           



try to put in i a file and the delete one space before "ret", and there will be an exception, when saving.
Post 27 Dec 2006, 14:01
View user's profile Send private message Reply with quote
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 7437
Location: Kraków, Poland
Tomasz Grysztar
Have you tried making it work with FASMD, too? Wink
Post 27 Dec 2006, 14:24
View user's profile Send private message Visit poster's website Reply with quote
Raedwulf



Joined: 13 Jul 2005
Posts: 375
Location: United Kingdom
Raedwulf
Yikes don't use it at the moment! I need to fix the crashes when it saves Razz
Post 27 Dec 2006, 18:21
View user's profile Send private message MSN Messenger Reply with quote
Raedwulf



Joined: 13 Jul 2005
Posts: 375
Location: United Kingdom
Raedwulf
Bug-fixed version released Smile, use it safely now.
Post 27 Dec 2006, 18:43
View user's profile Send private message MSN Messenger Reply with quote
Raedwulf



Joined: 13 Jul 2005
Posts: 375
Location: United Kingdom
Raedwulf
Tomasz Grysztar wrote:
Have you tried making it work with FASMD, too? Wink


Yes looks like it should be easily portable to FASMD Very Happy

_________________
Raedwulf
Post 30 Dec 2006, 22:02
View user's profile Send private message MSN Messenger Reply with quote
TmX



Joined: 02 Mar 2006
Posts: 820
Location: Jakarta, Indonesia
TmX
Raedwulf, may I request you something ?
Could you incorporate "minimze to tray icon" feature (e.g : http://board.flatassembler.net/topic.php?t=5363)

I once tried to do it, and fail.
Thanks
Post 31 Dec 2006, 05:00
View user's profile Send private message Reply with quote
OzzY



Joined: 19 Sep 2003
Posts: 1029
Location: Everywhere
OzzY
Nice job!
Code completion would be great! Very Happy
Post 02 Jan 2007, 18:41
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page 1, 2  Next

< 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-2019, Tomasz Grysztar.

Powered by rwasa.