From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.5 required=5.0 tests=BAYES_05,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,545551cf46d41dea X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!p79g2000cwp.googlegroups.com!not-for-mail From: "Hyman Rosen" Newsgroups: comp.lang.ada Subject: Re: ICFP Programming Contest virtual machine in Ada Date: 1 Aug 2006 09:14:12 -0700 Organization: http://groups.google.com Message-ID: <1154448852.738392.325930@p79g2000cwp.googlegroups.com> References: <87zmeobwtd.fsf@willow.rfc1149.net> NNTP-Posting-Host: 204.253.248.208 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1154448856 10355 127.0.0.1 (1 Aug 2006 16:14:16 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 1 Aug 2006 16:14:16 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.5) Gecko/20060719 Firefox/1.5.0.5,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: p79g2000cwp.googlegroups.com; posting-host=204.253.248.208; posting-account=lJDDWg0AAACmMd7wLM4osx8JUCDw_C_j Xref: g2news2.google.com comp.lang.ada:6049 Date: 2006-08-01T09:14:12-07:00 List-Id: Samuel Tardieu wrote: > Just for the fun, I posted my Ada implementation of the virtual > machine needed to run the ICFP Programming Contest 2006. Did you verify whether it works properly on systems where text and binary I/O are different? In the contest, the first thing the machine needs to do is "decompress" a file, and both the input and output contain sequences which will be mangled if the normal text CR LF mapping takes place. I ran afoul of that in my C++ version of the code and it took me a while to realize what was going on.