This is a project I have been working on. It is a scripting language written in C++. It currently is almost fully functional. (It doesn't support ifs whiles or declaring functions or classes.) I am looking at expanding the library. I already plan on making a GUI and IO library with wxWidgets. I currently need the following.
- A string replace algorithm
- A regular expression library
- Anything else that might be useful
Thank you.
I found this thread:
http://www.idevgames.com/forum/archive/index.php/t-11611.html
I have no idea how it's useful.
Well, here are some commands:
http://www.autohotkey.com/docs/commands.htm would be a good place to check for commands.
I bet John (Haller) would like a scripting language that is specifically designed for creating PortableApps :P.
Oh, and a string replace algorithm, hm... Maybe check out strrep.nsh in NSIS, here I'll fetch it for you:
I can't wait for a home brew scripting language (BTW, why neon, well, I would suppose helium would be a file recovery program...)
Insert original signature here with Greasemonkey Script.
I don't know how much the NSIS string replace code will help considering my skills at NSIS and it is most likely that it is less efficient due to the way NSIS works.
I picked the name Neon because it was the one that seemed to fit the best.
Thanks for the links, btw.
cowsay Moo
cowthink 'Dude, why are you staring at me.'
the C++ string library you use will have a string replace library? If not there is a fairly decent looking example in the wxWidgets source, but it is specifically for the wxString. Find it under src\common\string.cpp
It doesn't. I am using std::basic_string<TCHAR>. (Pretty much the same as std::string except with unicode.) It doesn't seem to have a replace method that replaces a substring. The replace method requires you to have the start and end position.
cowsay Moo
cowthink 'Dude, why are you staring at me.'
The most commonly used regexp library is pcre.
You can also use it to make string replace, it shouldn't be slow.
"Those people who think they know everything are a great annoyance to those of us who do." Asimov