Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 1999-05

scan.pp Lexical tokenizer

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Baeseman, Cliff

Shane,

You might wish to take a look at the scanner code I posted earlier for the source code colorizing. It generates a list of tokens with properites such as position in stream, token type, col, row, text etc etc. I am going to use this in the flat ide to color the code. It is totally generic and very fast you can pass whatever you wish to
it for keywords and special chars. It also pulls floats, strings, comment blocks etc. I was going to use it last night but the streams where giving me grief. I am going to go back to it tonight. I am going to first write the load and save routines and then go back and load the colors. This way I am not fighting two

- "If you kiss me, I'll turn into a beautiful princess."
- "Look, I'm a computer programmer. I don't have time for girls, but a talking frog is very very cool."

Reply by email

Cliff Baeseman
to Baeseman, Cliff

It is based from TObject...

I converted it from a delphi component...

Cliff

Sergio Kessler wrote 13 lines
"Baeseman, Cliff" wrote: the Lexical tokenizer is a TComponent ?? Sergio -- | Sergio A. Kessler http://perio.unlp.edu.ar/~sergio -O_O- Keep working at it... you will either succeed, or become an expert. _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email