Author Topic: Syntax Highlighting  (Read 1323 times)

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 7212
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Syntax Highlighting
« Reply #30 on: February 21, 2020, 07:29:18 AM »
 :biggrin:

He he, you can blame Randy Hyde for the terminology. To cover the range of Intel Mnemonics, you need at least 600 words * 2 for upper and lower case then you have the count of MASM reserve words, a process for comments and a selection of words if they are in the table or not. Load all of the data from disk and its slow so you look for a fast technique that does not involve the binary conversion from text, put it all in a DLL with the data already accessible.

I used a hash table in the old one after the data was loaded from disk but you can do it a lot faster by having the data stored as binary code in a DLL.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

HSE

  • Member
  • *****
  • Posts: 1304
  • <AMD>< 7-32>
Re: Syntax Highlighting
« Reply #31 on: February 21, 2020, 08:08:36 AM »
I have the idea. Thanks  :thumbsup:

i Z !

  • Member
  • **
  • Posts: 110
    • Customizable digital arts
Re: Syntax Highlighting
« Reply #32 on: February 21, 2020, 09:23:05 AM »
Why not try my one...?

I've just released a free version, you can also find screenshots in this topic:

https://masm32.com/board/index.php?topic=8357.0
I bit a bit,
got bites from bytes.
I'll ram'em back in their RAM
and machine-gun the shit out of their f*in machine...

Try out my Automatized ASM Editor for Windows 10 for 30 days. Also visit silverfox.systems/ace!