From: rubynet-announce-request@... Date: 2003-08-07T04:00:11+09:00 Subject: rubynet-announce Digest, Vol 6, Issue 2 Send rubynet-announce mailing list submissions to rubynet-announce@lists.rubynet.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.rubynet.org/lists/listinfo/rubynet-announce or, via email, send a message with subject or body 'help' to rubynet-announce-request@lists.rubynet.org You can reach the person managing the list at rubynet-announce-owner@lists.rubynet.org When replying, please edit your Subject line so it is more specific than "Re: Contents of rubynet-announce digest..." Today's Topics: 1. ANN: Coco/R for Ruby 1.0.0 (prerelease) (Ryan Davis) 2. RubyInline 2.3.0 released (Ryan Davis) ---------------------------------------------------------------------- Message: 1 Date: Tue, 5 Aug 2003 19:14:39 -0700 From: Ryan Davis Subject: [ruby-announce] ANN: Coco/R for Ruby 1.0.0 (prerelease) To: Seattle Ruby Brigade! Cc: Ruby Announce Message-ID: Content-Type: text/plain; charset=US-ASCII; format=flowed Coco/R for Ruby 1.0.0 has been (pre)released. I don't have a sourceforge project for it yet, so I'm preannouncing this and distributing through my website directly. http://www.zenspider.com/~ryand/cocor-1.0.0.tar.gz This file will become unavailable as soon as it is hosted on sourceforge. Coco/R(uby) http://www.zenspider.com/ support@zenspider.com DESCRIPTION: (Stolen from http://www.scifac.ru.ac.za/coco/) Coco/R combines the functionality of the well-known UNIX tools lex and yacc , to form an extremely easy to use compiler generator that generates recursive descent parsers, their associated scanners, and (in some versions) a driver program, from attributed grammars (written using EBNF syntax with attributes and semantic actions) which conform to the restrictions imposed by LL(1) parsing (rather than LALR parsing, as allowed by yacc ). The user has to add modules for symbol table handling, optimization, and code generation in order to get a running compiler. Coco/R can also be used to construct other syntax-based applications that have less of a "compiler" flavour. (Not stolen) Coco/R(uby) is a port of Coco/R to ruby and generates pure ruby parsers and scanners. This version of Coco/R is not related to Mark Probert's version (http://raa.ruby-lang.org/list.rhtml?name=coco-rb). This version of Coco/R generates pure ruby. Mark's version generates C for ruby extensions. If you find this version too slow, you might want to check out Mark's. If however, you need pure ruby or can't deploy where there is a C compiler, you finally have an LL solution. FEATURES/PROBLEMS: + Happy neato ruby parsers and lexers. - Not clean. Design needs massive cleanup. - Needs actual documentation (unless you've used coco/r before). - Needs actual tests. - Probably lots of other bad things... I'd love feedback. ------------------------------ Message: 2 Date: Tue, 5 Aug 2003 20:22:31 -0700 From: Ryan Davis Subject: [ruby-announce] RubyInline 2.3.0 released To: Seattle Ruby Brigade! Cc: Ruby Announce Message-ID: <370D1780-C7BD-11D7-98AF-0030657CEB62@zenspider.com> Content-Type: text/plain; charset=US-ASCII; format=flowed RubyInline 2.3.0 has been released! http://sourceforge.net/projects/rubyinline/ Ruby Inline is my quick attempt to create an analog to Perl's Inline::C. It allows you to embed C or C++ external module code in your ruby script directly. The code is compiled and run on the fly when needed. The ruby version isn't near as feature-full as the perl version, but it is neat! FEATURES/PROBLEMS: + Quick and easy inlining of your C or C++ code embedded in your ruby script. + Rudimentary automatic conversion between ruby and C basic types (char, unsigned, unsigned int, char *, int, long, unsigned long). + inline_c_raw exists for when the automatic conversion isn't sufficient. + Only recompiles if the inlined code has changed. + Pretends to be secure. + Only uses standard ruby libraries, nothing extra to download. + Simple as it can be. Less than 230 lines long... um... sorta simple. CHANGES: Added a nice tutorial on profiling. Added C++ tweaks to make it happy with C++ (only tested with GNU so far). Added globals so you can add extra libraries and flags to the compiler. Added a C++ example. http://sourceforge.net/projects/rubyinline/ ------------------------------ _______________________________________________ rubynet-announce mailing list announce@rubynet.org http://lists.rubynet.org/lists/listinfo/rubynet-announce End of rubynet-announce Digest, Vol 6, Issue 2 **********************************************