View previous topic :: View next topic |
Author |
Message |
JarrettBillingsley
Joined: 20 Jun 2006 Posts: 457 Location: Pennsylvania!
|
Posted: Fri Nov 02, 2007 5:40 pm Post subject: November 2 -- Native toJSON, starts/endsWith, more oslib |
|
|
Added/Removed
- Added the native toJSON functions. There are three versions, toJSONc, toJSONw, and toJSONd, for the three kinds of strings. You can also use explicit template instantiation, i.e. toJSON!(wchar) to call the function.
- Added the native writeJSON functions to parallel the toJSON functions. These write directly to an instance of tango.io.Print.
- Added string.startsWith, .endsWith, .istartsWith, and .iendsWith.
- Added os.system, which mimics the C system() call.
- Added os.getEnv, to get the entire process environment, or single values from it.
- Added os.dateTime and .dateString, for getting the time and for formatting times.
- Added os.culture, for getting and setting the culture (which affects, among other things, how dates are formatted).
- Added the minid.misc module, for various MiniD-specific utilities which just don't fit anywhere else.
Changed
- Added a namespace parameter to the native loadStatementString function to match the eval function.
- Removed the UniChar.d file, as I found out Tango has acquired tango.text.Unicode. In the process removed a bunch of unnecessary string duplication in the string lib.
Fixed
- Somehow forgot to make it so you could assign AAs into MDValues.
Yaay! Ligustah should be happy.
Last edited by JarrettBillingsley on Wed Nov 14, 2007 2:47 pm; edited 1 time in total |
|
Back to top |
|
|
Ligustah
Joined: 21 Oct 2007 Posts: 45 Location: Berlin, Germany
|
Posted: Fri Nov 02, 2007 7:32 pm Post subject: |
|
|
Yeah!
Great work.
Mfg Ligustah |
|
Back to top |
|
|
csauls
Joined: 27 Mar 2004 Posts: 278
|
Posted: Sat Nov 03, 2007 12:19 pm Post subject: |
|
|
Ligustah isn't the only happy one. Great work, especially the os.* additions. _________________ Chris Nicholson-Sauls |
|
Back to top |
|
|
JarrettBillingsley
Joined: 20 Jun 2006 Posts: 457 Location: Pennsylvania!
|
Posted: Sun Nov 04, 2007 10:19 am Post subject: |
|
|
So -- are you using MiniD in any project, Chris, or are you just a fan? |
|
Back to top |
|
|
csauls
Joined: 27 Mar 2004 Posts: 278
|
Posted: Sun Nov 04, 2007 2:10 pm Post subject: |
|
|
I have a few things going. A friend and I are experimenting with using it to script a user-extendable utility of his... I've been considering a radical app built in MiniD (a BitTorrent client, actually... radical indeed)... And I'm still just dreaming up uses for it.
I'm a fan. _________________ Chris Nicholson-Sauls |
|
Back to top |
|
|
JarrettBillingsley
Joined: 20 Jun 2006 Posts: 457 Location: Pennsylvania!
|
Posted: Sun Nov 04, 2007 6:52 pm Post subject: |
|
|
Cool |
|
Back to top |
|
|
|
|
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
|
Powered by phpBB © 2001, 2005 phpBB Group
|