[ros-general] writing file manager / how to use lex?
rob at koepferl.de
Sat Mar 20 22:02:16 CET 2004
Jan Tisje schrieb:
> I started to write a file manager....
> my target is to make it easy to use but very powerful and flexible.
> apart from windows fs, it will support many filesystems (eg. nfs, http,
> ftp, webdav... )
I'd suggest to support an not existing FTP-FS which may work by putting
connection data in a special file.
> One point is to show if and how the "C:, D:" drive assignment may be
> So i will use URLs.
??? Maybe that would be one solution we should put into the win32 sub
system so that any app can use them...
> The most important part missing is an URL parser.
> **** does anyone know how to use lex to generate a parser? ****
> I write in delphi, so the interesting part of the lex file will be the
> left side, finding the URL components.
Find a RegEx engine for Delphi and parse this regular language via
> there are BNFs available for URL, but
> BNF is no standard, so syntax is odd (to me)
> lex does not expect BNF but it's own format.
> URI, BNF in appendix A
> URL, BNF in chapter 5
> btw, the filemanager will use plugins to view the file contents.
> **** Who wants to write some plugin DLLs? ****
> they may be written in C, interface will be strictly WinAPI standard.
> There will be two types of DLLs
> - those that render to a windows device context (or bitmap, I do not
> know yet)
> - and those that convert a file to a HTML representation.
> (yes, the file manager already is capable to display html, without IE!)
> ros-general mailing list
> ros-general at reactos.com
More information about the ros-general