Re: [Ecls-list] Runtime bug in compiled code

2015-01-13 Thread daiyanh
BTW recently the Windows API seemed have changed. The following code, for example, (baz "arabic" :format :iso-8859-6) used to work just few months ago. Now it doesn’t. Instead this (baz "arabic" :format :utf-8) must be used. Meaning input format is now utf-8 regardless of encoding format o

Re: [Ecls-list] Runtime bug in compiled code

2015-01-01 Thread daiyanh
Thanks for quick response! Encouraged by your successful trial, I changed the underlying compiler from Intel icl to MS cl. Voila! It works now. haha 😊 As for earlier “baz” program for srt->smi translation, the culprit was the modification of list; compiler isn’t the cause. But the error is

Re: [Ecls-list] Runtime bug in compiled code

2015-01-01 Thread Pascal J. Bourguignon
> On 01 Jan 2015, at 14:33, mailto:daiy...@yahoo.co.jp>> > mailto:daiy...@yahoo.co.jp>> wrote: > > Another example from http://www.cliki.net/diff > In the diff.lisp file, > > (defmacro do-file-lines ((line-var pathname-var &optional result) &body body) > (let ((str

Re: [Ecls-list] Runtime bug in compiled code

2015-01-01 Thread Pascal J. Bourguignon
> On 01 Jan 2015, at 14:33, mailto:daiy...@yahoo.co.jp>> > mailto:daiy...@yahoo.co.jp>> wrote: > > Another example from http://www.cliki.net/diff > In the diff.lisp file, > > (defmacro do-file-lines ((line-var pathname-var &optional result) &body body) > (let ((str

Re: [Ecls-list] Runtime bug in compiled code

2015-01-01 Thread Pascal J. Bourguignon
> On 01 Jan 2015, at 14:33, wrote: > > Another example from http://www.cliki.net/diff > In the diff.lisp file, > > (defmacro do-file-lines ((line-var pathname-var &optional result) &body body) > (let ((stream-var (gensym))) > `(with-open-file (,stream-var ,pat

Re: [Ecls-list] Runtime bug in compiled code

2015-01-01 Thread daiyanh
Another example from http://www.cliki.net/diff In the diff.lisp file, (defmacro do-file-lines ((line-var pathname-var &optional result) &body body) (let ((stream-var (gensym))) `(with-open-file (,stream-var ,pathname-var :direction :input :element-type 'character)

Re: [Ecls-list] Runtime bug in compiled code

2014-09-18 Thread R. Mattes
On Thu, 18 Sep 2014 07:42:02 +, daiyanh wrote > ECL version: GIT of sometime in July, 2014 > Platform: Windows 8.1, MSVC 2010 compiler, EMACS 24.3, SLIME 2014-8-1 > > The following code converts SRT subtitle file to SAMI format. > It works when eval'ed as is in the REPL or C-x C-e. > However, w

[Ecls-list] Runtime bug in compiled code

2014-09-18 Thread daiyanh
ECL version: GIT of sometime in July, 2014 Platform: Windows 8.1, MSVC 2010 compiler, EMACS 24.3, SLIME 2014-8-1 The following code converts SRT subtitle file to SAMI format. It works when eval'ed as is in the REPL or C-x C-e. However, when (compile 'baz), it gives STORAGE-EXHAUSTED error and sto