From larkface_769 at mailworks.org Thu Mar 2 08:27:18 2006 From: larkface_769 at mailworks.org (Jesse Weaver) Date: Thu, 02 Mar 2006 11:27:18 -0700 Subject: Welcome to our (sdl-developers ML) You are added automatically In-Reply-To: <200603020524.FMLAAB24489.sdl-developers@ikayzo.org> References: <1141321886.392.255673453@webmail.messagingengine.com> <200603020524.FMLAAB24489.sdl-developers@ikayzo.org> Message-ID: <1141324038.5426.255675622@webmail.messagingengine.com> Hello, all: I am currently working on a PHP parser for SDL. It is divided up in to four levels, each one built on the previous one. 1. Lexer 2. SDL "Pull" parser, similar to XMLTextReader in C# 3. A "Tag" class, much like the ones in the SDL Java and C# parsers 4. A "SimpleSDL" API that functions much like PHP's SimpleXML extension (i.e. allows you do things like $tag->person[1]->hobbies) Needless to say, this isn't intended for production (because of PHP's speed problems; it is an interpreted language, after all). However, I will use it as a model for a C++ parser, which will be used to create a PHP extension. Thought you might be interested. -- Jesse larkface_769 at mailworks.org -- http://www.fastmail.fm - Send your email first class From dan at ikayzo.com Thu Mar 2 23:07:20 2006 From: dan at ikayzo.com (dan at ikayzo.com) Date: Fri, 3 Mar 2006 04:07:20 -0500 (EST) Subject: Welcome to our (sdl-developers ML) You are addedautomatically In-Reply-To: <1141324038.5426.255675622@webmail.messagingengine.com> References: <1141321886.392.255673453@webmail.messagingengine.com><200603020524.FMLAAB24489.sdl-developers@ikayzo.org> <1141324038.5426.255675622@webmail.messagingengine.com> Message-ID: <56560.205.142.0.75.1141376840.squirrel@ikayzo.com> Hello Jesse, > Thought you might be interested. Absolutely! We were hoping for a PHP port. We are happy to host it on our site when you are done or provide a link to your site. Let me know if you need anything or have any questions. > However, I > will use it as a model for a C++ parser, which will be used to create a > PHP extension. Are you planning to write an SDL parser both in PHP and C++, or a PHP extension in C++? A C++ parser would be great. It tops my wish list for ports. Dan From larkface_769 at mailworks.org Fri Mar 3 07:15:11 2006 From: larkface_769 at mailworks.org (Jesse Weaver) Date: Fri, 03 Mar 2006 10:15:11 -0700 Subject: C++ parser, etc. In-Reply-To: <56560.205.142.0.75.1141376840.squirrel@ikayzo.com> References: <1141321886.392.255673453@webmail.messagingengine.com><200603020524.FMLAAB24489.sdl-developers@ikayzo.org> <1141324038.5426.255675622@webmail.messagingengine.com> <56560.205.142.0.75.1141376840.squirrel@ikayzo.com> Message-ID: <1141406111.11416.255761731@webmail.messagingengine.com> > We are happy to host it on > our site when you are done or provide a link to your site. Let me know > if > you need anything or have any questions. I would like it if you would host the C++ parser and PHP extension, thanks. Are there any coding standards I should follow? > Are you planning to write an SDL parser both in PHP and C++, or a PHP > extension in C++? A C++ parser would be great. It tops my wish list for > ports. Sorry. Clarification: - Yes, I will write a C++ parser. - I am writing an SDL parser in PHP, but this is only the model for a PHP extension in C++. I'll let you know when the PHP and then C++ parsers are done, along with the extension. How closely should the C++ parser follow the Java and C# API's? Should it use the same naming style and function and class names? Also, I am planning to use the STL in the C++ parser. Does Ikayzo.org have any established conventions on this? Thanks, -- Jesse larkface_769 at mailworks.org -- http://www.fastmail.fm - IMAP accessible web-mail From dan at ikayzo.com Fri Mar 3 06:58:20 2006 From: dan at ikayzo.com (dan at ikayzo.com) Date: Fri, 3 Mar 2006 11:58:20 -0500 (EST) Subject: C++ parser, etc. In-Reply-To: <1141406111.11416.255761731@webmail.messagingengine.com> References: <1141321886.392.255673453@webmail.messagingengine.com><200603020524.FMLAAB24489.sdl-developers@ikayzo.org><1141324038.5426.255675622@webmail.messagingengine.com><56560.205.142.0.75.1141376840.squirrel@ikayzo.com> <1141406111.11416.255761731@webmail.messagingengine.com> Message-ID: <20461.171.161.160.10.1141405100.squirrel@ikayzo.com> Hi Jesse, > I would like it if you would host the C++ parser and PHP extension, > thanks. No problem. We can set you up with a Subversion account if you like. > Are there any coding standards I should follow? We don't yet have standards for C++ or PHP. Wherever possible, it would be great if you could preserve the approach, documentation standards, and "look" of the C# and Java public APIs. If someone is familiar with the Java API it should be easy for them to move over and use the C++ API. > How closely should the C++ parser follow the Java and C# API's? Should > it use the same naming style and function and class names? It would be great if you could follow them in terms of the public APIs. I realize some changes are necessary to make the APIs natural for the language being used. For example, using properties and indexers in C# where methods are required in Java. If you come up with a better way to handle parsing or the other internal mechanics, great. We may adopt improvements back into the Java and C# parsers. > Also, I am planning to use the STL in the C++ parser. Excellent. You will notice we used generics in both the Java and C# versions. > Does Ikayzo.org > have any established conventions on this? Not yet. Your approach may become the standard, especially if you are well versed in STL. Cheers, Dan From dan at ikayzo.com Wed Mar 15 19:41:41 2006 From: dan at ikayzo.com (dan at ikayzo.com) Date: Thu, 16 Mar 2006 00:41:41 -0500 (EST) Subject: Important Updates Message-ID: <28075.171.159.64.10.1142487701.squirrel@ikayzo.com> Hi Folks, A few important updates: I'm happy to announce SDL ports to C++ and Ruby are under way. As you saw from his previous posting, Jesse Weaver is working on a C++ port with Ruby bindings. We also have someone working on a pure Ruby port. On a related matter, I have had a number of people comment on the current implementation of namespaces. Although they work as originally specified, and made it through a design review, they clearly need to be revised. In the current implementation, namespaces are not truly distinct because the same attribute name cannot exist in multiple namespaces. This Saturday I will be releasing the first beta of SDL 1.1, which will address this issue and add a few convenience methods. I hope some of you will have time to review the release and make comments. This release will include an updated spec and implementations in Java and C#. I will aggresively pursue 1.1 in terms of development and testing. Given the limited scope, you can expect to see a full release for Java and C# in a 3 month timeframe, with a few betas in between. Finally, I have been working on a relatively large project for a current customer (a major US bank) using SDL. We are building a comprehensive SDL/Swing binding that allows you to easily build Swing GUIs using SDL. SDLs syntax has proven much more natural in this domain than XML schemas such as XUL and XAML. Following is an example of a browser interface created with SDL (screenshot attached): pane layout="border" ID="browser_root" { pane layout="horizontal" constraint="north" border="2,2,2,2" { label "URL" border="0,5,0,3" text constraint="stretch" ID="url_field" action="bsh:goURL" button "Go" action="bsh:goURL" spacer size=5 button "<<" action="bsh:back" button ">>" action="bsh:forward" } browser URL="http://cnn.com" ID="browser" label "Greetings" border="2,5,2,5" ID="status_bar" constraint="south" } Finally, from now on C# and Java releases will happen at the same time. As always, comments, questions, and creative insults are welcome. Cheers, Dan -------------- next part -------------- A non-text attachment was scrubbed... Name: browser.png Type: image/x-png Size: 25615 bytes Desc: not available URL: From dan at ikayzo.com Wed Mar 15 19:54:56 2006 From: dan at ikayzo.com (dan at ikayzo.com) Date: Thu, 16 Mar 2006 00:54:56 -0500 (EST) Subject: Ruby, C++, SDL 1.1 beta, and Namespaces Fix Message-ID: <31232.171.161.160.10.1142488496.squirrel@ikayzo.com> Hi Folks, A few important updates: I'm happy to announce SDL ports to C++ and Ruby are under way. As you saw from his previous posting, Jesse Weaver is working on a C++ port with Ruby bindings. We also have someone working on a pure Ruby port. On a related matter, I have had a number of people comment on the current implementation of namespaces. Although they work as originally specified, and made it through a design review, they clearly need to be revised. In the current implementation, namespaces are not truly distinct because the same attribute name cannot exist in multiple namespaces. This Saturday I will be releasing the first beta of SDL 1.1, which will address this issue and add a few convenience methods. I hope some of you will have time to review the release and make comments. This release will include an updated spec and implementations in Java and C#. I will aggresively pursue 1.1 in terms of development and testing. Given the limited scope, you can expect to see a full release for Java and C# in a 3 month timeframe, with a few betas in between. Finally, I have been working on a relatively large project for a current customer (a major US bank) using SDL. We are building a comprehensive SDL/Swing binding that allows you to easily build Swing GUIs using SDL. SDLs syntax has proven much more natural in this domain than XML schemas such as XUL and XAML. Following is an example of a browser interface created with SDL (screenshot attached): pane layout="border" ID="browser_root" { pane layout="horizontal" constraint="north" border="2,2,2,2" { label "URL" border="0,5,0,3" text constraint="stretch" ID="url_field" action="bsh:goURL" button "Go" action="bsh:goURL" spacer size=5 button "<<" action="bsh:back" button ">>" action="bsh:forward" } browser URL="http://cnn.com" ID="browser" label "Greetings" border="2,5,2,5" ID="status_bar" constraint="south" } Finally, from now on C# and Java releases will happen at the same time. As always, comments, questions, and creative insults are welcome. Cheers, Dan From dan at ikayzo.org Sun Mar 19 04:55:14 2006 From: dan at ikayzo.org (Daniel Leuck) Date: Sun, 19 Mar 2006 09:55:14 -0500 Subject: SDL 1.1 Beta Message-ID: Hi Folks, I just posted the SDL 1.1 beta. http://sdl.ikayzo.org/docs/display/SDL/Downloads Namespaces are now proper, distinct things. I also added a number of convenience methods to the Tag class, updated the docs, and updated the unit tests (although more need to be written.) I still plan on doing some internal house keeping, but I believe this release is in pretty good shape. Later this week I will update the .NET version. Cheers, Dan