digitalmars.D - [ANN] Sofud 0.2
- Sebastian Beschke <s.beschke gmx.de> Dec 10 2004
- =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb algonet.se> Dec 10 2004
- Sebastian Beschke <s.beschke gmx.de> Dec 10 2004
- David L. Davis <SpottedTiger yahoo.com> Dec 10 2004
- Sebastian Beschke <s.beschke gmx.de> Dec 16 2004
- Georg Wrede <Georg_member pathlink.com> Dec 11 2004
- Chris Sauls <Chris_member pathlink.com> Dec 11 2004
- Sebastian Beschke <s.beschke gmx.de> Dec 16 2004
- =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb algonet.se> Dec 16 2004
- Hiroshi Sakurai <Hiroshi_member pathlink.com> Dec 16 2004
- Sebastian Beschke <s.beschke gmx.de> Dec 16 2004
- Hiroshi Sakurai <Hiroshi_member pathlink.com> Dec 16 2004
- Sebastian Beschke <s.beschke gmx.de> Dec 16 2004
Announcing Sofud 0.2 (no there's never been version 0.1) http://sofu.sourceforge.net/ Sofud is a parser library for the file format Sofu (don't confuse the names ;) ). Sofu has been created (by me) to allow reading and storing data, mainly for game type applications, in a simple and painless way. I believe for games it's a viable, more simple alternative to XML. To find out what Sofu is all about, you can find a tutorial at the above web page. Please tell me what you think :) -Sebastian
Dec 10 2004
Sebastian Beschke wrote:Sofu has been created (by me) to allow reading and storing data, mainly for game type applications, in a simple and painless way. I believe for games it's a viable, more simple alternative to XML.
Looks a whole lot like the old .plist format (now converted to XML) ? It was used by NeXTSTEP to store various settings, "property list". --anders
Dec 10 2004
Anders F Björklund wrote:Looks a whole lot like the old .plist format (now converted to XML) ? It was used by NeXTSTEP to store various settings, "property list".
Dunno, I've never heard of it. Could you post an example? Maybe I could learn from it :)--anders
-Sebastian
Dec 10 2004
Sebastian Beschke wrote:Looks a whole lot like the old .plist format (now converted to XML) ? It was used by NeXTSTEP to store various settings, "property list".
Dunno, I've never heard of it. Could you post an example? Maybe I could learn from it :)
Googled up some example of the old-style .plist file format: http://www.stone.com/The_Cocoa_Files/Legacy_File_Formats.html --anders
Dec 10 2004
In article <cpcrnq$28bn$1 digitaldaemon.com>, Sebastian Beschke says...Announcing Sofud 0.2 (no there's never been version 0.1) http://sofu.sourceforge.net/ Sofud is a parser library for the file format Sofu (don't confuse the names ;) ). Sofu has been created (by me) to allow reading and storing data, mainly for game type applications, in a simple and painless way. I believe for games it's a viable, more simple alternative to XML. To find out what Sofu is all about, you can find a tutorial at the above web page. Please tell me what you think :) -Sebastian
Sebastian: I've downloaded Sofud-0.2.zip, but when I try to open it in WinZip v9.0 I get a invalid zip format error. And even with IZArc it complains as well...is this file a Linux only file? Shouldn't also work for MS Windows (XP)? David L. P.S. I downloaded it three times (hey it's only 12Kb), each time from a different server location, but the same result each time. ------------------------------------------------------------------- "Dare to reach for the Stars...Dare to Dream, Build, and Achieve!"
Dec 10 2004
David L. Davis wrote:Sebastian: I've downloaded Sofud-0.2.zip, but when I try to open it in WinZip v9.0 I get a invalid zip format error. And even with IZArc it complains as well...is this file a Linux only file? Shouldn't also work for MS Windows (XP)?
Actually, it's been created under Windows XP ;) It seems it wasn't uploaded correctly, but it should work now. I apologize ^^ Also sorry for the late reply - I went on vacation right after the release ;)David L.
Dec 16 2004
In article <cpcrnq$28bn$1 digitaldaemon.com>, Sebastian Beschke says...Announcing Sofud 0.2 (no there's never been version 0.1) http://sofu.sourceforge.net/
Very nice! You might want to check out (for ideas, or comparison) www.yaml.org georg
Dec 11 2004
Message = {
Reply = {
Quote = "<cpcrnq$28bn$1 digitaldaemon.com> Sebastian Beschke"
Text = "Announcing Sofud 0.2 (no there's never been version 0.1)"
}
Content = (
"Be forewarned, this /will/ get some use. :)"
)
Signature = (
"-- Chris Sauls"
"-- Invironz"
)
}
Dec 11 2004
Chris Sauls wrote:Message = { Reply = { Quote = "<cpcrnq$28bn$1 digitaldaemon.com> Sebastian Beschke" Text = "Announcing Sofud 0.2 (no there's never been version 0.1)" } Content = ( "Be forewarned, this /will/ get some use. :)" ) Signature = ( "-- Chris Sauls" "-- Invironz" ) }
If you find any bugs, please be sure to report them to me. It's not *that* excessively tested (which will change this weekend as I'm actually using it to make a game :) ) -Sebastian
Dec 16 2004
Sebastian Beschke wrote: If you find any bugs, please be sure to report them to me. It's not*that* excessively tested (which will change this weekend as I'm actually using it to make a game :) )
Can't test it with GDC since it uses EndianStream from DMD 0.107, and GDC is currently only up to features from DMD version 0.102 :( You might want to list DMD 0.107 and Scons as Sofud requirements ? But the zip file works this time :-) (with Windows/Linux binaries) --anders
Dec 16 2004
In article <cpsn54$304s$1 digitaldaemon.com>, =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= says...Sebastian Beschke wrote: If you find any bugs, please be sure to report them to me. It's not*that* excessively tested (which will change this weekend as I'm actually using it to make a game :) )
Can't test it with GDC since it uses EndianStream from DMD 0.107, and GDC is currently only up to features from DMD version 0.102 :( You might want to list DMD 0.107 and Scons as Sofud requirements ? But the zip file works this time :-) (with Windows/Linux binaries) --anders
Oh! It's great language! When I view the Groovy code, I think sameone C like list language idea. I love C like language. I hope D preprocessor is D source code -> DPP -> Sofud -> D macro program -> Sofud -> DPP -> D source code. Reference EPP (The extensible Java pre-processor EPP) http://staff.aist.go.jp/y-ichisugi/epp/index.html Java source code -> EPP -> S expression(lisp) -> Java macro program -> S expression -> EPP -> Java source code. I think S expression is difficult or avoided to normal programer. but Sofud is good and lovely. and I hope, Sofud like language can defined D language. SGML <-> HTML <-> DTD XML <-> XHTML <-> XMLScheme, Relax NG ? <-> D <-> ? Sofud <-> D-- <-> ? Thanks, Sakurai.
Dec 16 2004
Hi, Hiroshi Sakurai wrote:In article <cpsn54$304s$1 digitaldaemon.com>, =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= says... Oh! It's great language! When I view the Groovy code, I think sameone C like list language idea. I love C like language. I hope D preprocessor is D source code -> DPP -> Sofud -> D macro program -> Sofud -> DPP -> D source code.
Hi, I'm sorry, but I have no idea what exactly you're saying. ^^ I do understand a little Japanese, so if you reposted in Japanese, perhaps I could work my way through it with a dictionary. However, I fear you misunderstand the use and purpose of Sofu. It doesn't have anything to do with a Preprocessor, it is merely a data format for configuration files, like INI or XML. Of course, if you really wanted to, you could use it to generate D code, and it'd be pretty interesting to see the results. But that's not what I intended during development :) -Sebastian
Dec 16 2004
In article <cpsupi$7l3$1 digitaldaemon.com>, Sebastian Beschke says...Hi, Hiroshi Sakurai wrote:In article <cpsn54$304s$1 digitaldaemon.com>, =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= says... Oh! It's great language! When I view the Groovy code, I think sameone C like list language idea. I love C like language. I hope D preprocessor is D source code -> DPP -> Sofud -> D macro program -> Sofud -> DPP -> D source code.
Hi, I'm sorry, but I have no idea what exactly you're saying. ^^ I do understand a little Japanese, so if you reposted in Japanese, perhaps I could work my way through it with a dictionary. However, I fear you misunderstand the use and purpose of Sofu. It doesn't have anything to do with a Preprocessor, it is merely a data format for configuration files, like INI or XML. Of course, if you really wanted to, you could use it to generate D code, and it'd be pretty interesting to see the results. But that's not what I intended during development :) -Sebastian
I understand Sofu like INI or XML or YAML or S Expression. Sofu is not Preprocessor. Preprocessor idea is my Sofu used application idea. Ž„‚ÍSofu‚ÍINIƒtƒ ƒCƒ‹‚âXMLAYAML‚ÉŽ—‚½ƒtƒH[ƒ}ƒbƒg‚¾‚ȂƗ‰ð‚µ‚Ä‚¢‚Ü‚·B ƒvƒŠƒvƒƒZƒbƒT‚̃AƒCƒfƒBƒA‚ÍŽ„‚ªl‚¦‚½Sofu‚̉ž—p—á‚Å‚·B CŒ¾Œê‚ÉŽ—‚Ä‚¢‚é‚̂ŗǂ¢‚ȂƎv‚¢‚Ü‚·B Sofu‚ÉŽ—‚½Œ¾Œê‚ÅA‚æ‚èƒvƒŠƒvƒƒZƒbƒT‚ÉŒü‚¢‚½Œ¾Œê‚ª‚ ‚Á‚½‚ç‚æ‚¢‚È‚Æl‚¦‚Ä‚¢‚Ü‚·B ‚»‚ÌŒ¾Œê‚ðl‚¦‚é‚É‚ ‚½‚Á‚ÄASofu‚Í”ñí‚ÉŽQl‚ɂȂ錾Œê‚¾‚ÆŽv‚¢‚Ü‚·B Œ¾Œê‚Ì‹ ”\‚ðŠg’£‚µ‚½‚¢‚Æ‚¢‚¤—v‹‚Íl‚É‚æ‚肳‚Ü‚´‚܂ł·B LISP‚ł̓}ƒNƒ‚ðŽg‚Á‚ÄŒ¾Œê‚ÌŠg’£‚ðs‚¤‚±‚Æ‚ªo—ˆ‚Ü‚·B “¯‚¶‚悤‚È‚±‚Æ‚ªCŒ¾Œê‚ÉŽ—‚½Œ¾Œê‚Ås‚¦‚邯‚µ‚½‚çA‘f°‚炵‚¢‚Æl‚¦‚Ü‚·B DŒ¾Œê‚Ås‚¦‚邯‚µ‚½‚çA‘f°‚炵‚¢‚Æl‚¦‚Ü‚·B Java‚Å‚ÍEPP‚Æ‚¢‚¤ƒvƒŠƒvƒƒZƒbƒT‚ª‚ ‚è‚Ü‚·B Java‚̃\[ƒXƒR[ƒh‚ðSŽ®‚̃cƒŠ[‚É’u‚«Š·‚¦A‘€ì‚µA Java‚̃\[ƒXƒR[ƒh‚É–ß‚·‚Æ‚¢‚¤‚à‚̂ł·B Ž„‚ÍEPP‚ª‘f°‚炵‚¢ƒvƒŠƒvƒƒZƒbƒT‚¾‚ÆŽv‚¢‚Ü‚·B ‚µ‚©‚µAEPP‚ÌŠJ”‚Í’†’f‚³‚ê‚Ü‚µ‚½B SŽ®‚͈ê”ʂ̃vƒƒOƒ‰ƒ}‚ɂ͓‚AŒh‰“‚³‚ꂽ‚̂ł͂Ȃ¢‚©‚ÆŽv‚¢‚Ü‚·B ‚»‚±‚ÅASofu‚̂悤‚ÈŒ¾Œê‚ð‘€ì‚·‚é‚̂ł ‚ê‚Ηǂ¢‚̂ł͂Ȃ¢‚©‚ÆŽv‚¢‚Ü‚·B XML‚̬Œ÷‚ÍAXML‚Ì“®ìŽ©‘͉̂½‚à’è‹`‚µ‚È‚©‚Á‚½‚±‚Ƃɂ ‚邯Žv‚¢‚Ü‚·B “¯‚¶‚悤‚ÉA‰½‚à“®ì‚ð’è‹`‚µ‚È‚¢A CŒ¾Œêƒ‰ƒCƒN‚ÈŒ¾Œê‚ðì‚邯—Ç‚¢‚̂ł͂Ȃ¢‚©‚ÆŽv‚¢‚Ü‚·B XML‚ł͓®ì‚͉½‚àŒˆ‚Ü‚Á‚Ä‚¢‚Ü‚¹‚ñ‚ªAƒp[ƒT‚Í‘¶Ý‚µ‚Ü‚·B “¯‚¶‚悤‚ÉCŒ¾Œê‚ÉŽ—‚½Œ¾Œê‚ÅAƒp[ƒT‚ðì‚邯‚æ‚¢‚̂ł͂Ȃ¢‚©B ‚»‚µ‚ÄAXMLScheme‚âRelaxNG,Relaxer‚̂悤‚ÈA BNF‚É‘ã‚í‚é’è‹`ƒtƒH[ƒ}ƒbƒg‚àì‚邯‚æ‚¢‚̂ł͂Ȃ¢‚©B ‚»‚̂悤‚ÈŒ¾Œê‚̊‹«‚ÌŒ³‚ÅADŒ¾Œê‚ðÄ’è‹`‚Å‚«‚é‚̂ł͂Ȃ¢‚©B ‚»‚̂悤‚Ȋ‹«‚ª’ñ‹Ÿ‚Å‚«‚½‚ç‚æ‚¢‚Ȃƌ¾‚¢‚½‚©‚Á‚½‚킯‚Å‚·B “ú–{‚Å‚ÍAYAMP‚Æ‚¢‚¤Œ¾Œê‚ðl‚¦‚½l‚ª‚¢‚Ü‚·B YAML‚àƒf[ƒ^‹LqŒ¾Œê‚Å‚·‚ªA‚»‚ê‚ðLISP‚̂悤‚É ƒvƒƒOƒ‰ƒ~ƒ“ƒOŒ¾Œê‚Æ‚µ‚ÄŽg‚Á‚½‚ç‚Ç‚¤‚©‚Æ‚¢‚¤l‚¦‚Å‚·B “¯‚¶‚悤‚ÉASofu‚ðŽg‚Á‚ăvƒƒOƒ‰ƒ~ƒ“ƒOŒ¾Œê‚ðì‚邱‚Æ‚ªo—ˆ‚é‚Å‚µ‚傤B } SGML<->HTML<->DTD XML<->XHTML,XSLT...<->XMLScheme,Relaxer,RelaxNG SŽ®<->Lisp<->BNF‚µ‚©‚È‚¢‚Ì‚©‚ÈH‚í‚©‚ç‚È‚¢B YAML<->YAMP<->? Sofu<->C?<->D? A?<->DŒ¾Œê<->B? ˆÓ–¡‚Ì–³‚¢Œ¾Œê<->ˆÓ–¡‚ðŽ‚Á‚½Œ¾Œê<->ˆÓ–¡‚ð’è‹`‚·‚錾Œê ?‚Í•ª‚©‚ç‚È‚¢‚ªA‚ ‚Á‚Ä‚à‚¨‚©‚µ‚‚È‚¢‚à‚ÌB }‚Å‚¢‚¤A?‚âB?AC?AD?‚ª‚ ‚Á‚½‚ç‚¢‚¢‚ȂƎv‚¤‚Æ‚¢‚¤‚±‚Ƃł·B ‚»‚ê‚ðADŒ¾Œê‚ðì‚Á‚½‚èAV‚µ‚¢ƒAƒCƒfƒBƒA‚ðl‚¦‚邱‚Æ‚ªo—ˆ‚él‚½‚¿‚ÅA l‚¦‚Ä‚à‚ç‚¢‚½‚¢‚ÆAŽv‚¤‚킯‚Å‚·B DŒ¾Œê‚̃tƒH[ƒ‰ƒ€‚Ål‚¦‚Ä‚à‚ç‚¢‚½‚¢‚ÆŽv‚¤‚킯‚Å‚·B ƒEƒHƒ‹ƒ^[‚³‚ñ‚Él‚¦‚Ä‚à‚ç‚¢‚½‚¢‚킯‚Å‚·B A?AB?‚ðì‚éB A?AB?‚ðŒ³‚ÉDŒ¾Œê‚ðÄ’è‹`‚·‚éB B?‚ðŽg‚Á‚Ä‚¢‚ë‚¢‚ë‚ÈDŒ¾Œê‚Ì‹ ”\’ljÁ‚ðì‚éƒu[ƒ€‚ðŒÄ‚ÔB DŒ¾Œê‚ª•‹y‚µ‚Ä‚¤‚ꂵ‚¢B ‚Æ‚¢‚¤‚±‚Ƃł·B Thanks, Sakurai.
Dec 16 2004
Anders F Björklund wrote:Sebastian Beschke wrote: Can't test it with GDC since it uses EndianStream from DMD 0.107, and GDC is currently only up to features from DMD version 0.102 :(
Sorry about that. I've only used dmd.You might want to list DMD 0.107 and Scons as Sofud requirements ? But the zip file works this time :-) (with Windows/Linux binaries)
Well, somewhere I stated that I used DMD 0.109 and said it probably wouldn't work with any other compiler ^^ But I don't really want to re-implement EndianStream for GDC users, I think the best thing would be to wait until the next GDC update. Alternatively, you might try c/ping the class from DMD phobos. scons is only required for building the library, and that's stated in the readme. It probably should be on the web page too.--anders
Thanks for the feedback :) -Sebastian
Dec 16 2004
Sebastian Beschke wrote:You might want to list DMD 0.107 and Scons as Sofud requirements ?
Well, somewhere I stated that I used DMD 0.109 and said it probably wouldn't work with any other compiler ^^
It didn't. :-)But I don't really want to re-implement EndianStream for GDC users, I think the best thing would be to wait until the next GDC update.
That's what I meant. (no feedback for you until then)scons is only required for building the library, and that's stated in the readme. It probably should be on the web page too.
No problem, it was easy enough to install. ("rpm --rebuild") http://prdownloads.sourceforge.net/scons/scons-0.96.1-1.src.rpm --anders
Dec 16 2004









=?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb algonet.se> 