> On Sat, 6 Jul 2013 12:22:12 -0400, Frank
wrote:
> Hi,
> Is there a way to get line numbers in the error output of the
> interpreter?
>
I would add that this would be extremely helpful in compiled code
error output as well.
Memory is vague, but it sure seems these questions have come up
> On Sat, 6 Jul 2013 21:22:48 +0200, Peter Bex wrote:
> On Sat, Jul 06, 2013 at 11:49:44AM -0700, J Altfas wrote:
> > > On Sat, 6 Jul 2013 12:22:12 -0400, Frank
> > wrote:
> >
> > > Hi,
> > > Is there a way to get line numbers in the error out
> On Sat, 6 Jul 2013 23:27:38 +0200, Peter Bex
wrote:
> On Sat, Jul 06, 2013 at 02:16:16PM -0700, J Altfas wrote:
> > Error: (string-append) bad argument type - not a string: ()
> >
> > Call history:
> >
> > httm.scm:42: indent-sz
> On Sun, 7 Jul 2013 13:27:33 +0200, Peter Bex
wrote:
> On Sat, Jul 06, 2013 at 04:33:45PM -0700, J Altfas wrote:
> ...
> > Despite scouring the documentation, it's still unclear how the
-:xx
> > command-line options can be passed to the Chicken runtime (e.g.,
to
&
t you're driving at. What kind of "interaction"
do you mean, and what would it achieve? I'm thinking it could be
difficult to get there directly, but perhaps there are other ways to
accomplish your goals. More info about what you have in mind would
probably be helpful.
FWIW, I tried the same regex in Tcl. Using tclsh, I entered at the
prompt:
% regexp -inline {[a-z][a-z0-9\\-_.]{0,20}}
"a012345678901234567890123456789"
a01234567890123456789
It seemed to work fast, but to quantify execution time, the timed
output of 10 iterations was "1.3823 microseconds
My new PC runs Windows 8.1 Pro and comes with "Hyper-V"
virtualization "built-in". Getting CHICKEN running on FBSD as a
guest OS was pretty easy, but one problem showed up.
Near the end of the test suite, 'gmake check' failed (during the
"deployment test") with the error:
'clang' 'rev-app.o'
This may be old news already, but I was curious about the "enhanced-scrutiny"
branch in git. Found out that it wouldn't compile (last 2 changes).
It stopped at scrutinizer.scm, and looking at the file...well, it looks sorta
mangled. I tried to make sense of it, but didn't get far due to lack
mplementing a usleep procedure is pretty trivial:
(define usleep (foreign-lambda int "usleep" unsigned-integer32))
Maybe it wouldn't be too much trouble to add it to the posix (or some other)
module.
Thanks,
J. Altfas
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users
On Sun, 17 Feb 2013 21:16:56 -0600 Jim Ursetto wrote
> On Feb 17, 2013, at 4:18 PM, J Altfas wrote:
>
> > Hello,
> >
> > Using 'file-select' as a sub-second sleep procedure works without hitch
> > under csi:
> >
> > (define (sleeper tm)
> &
On Mon, 18 Feb 2013 14:36:33 -0600 Jim Ursetto wrote:
> On Feb 18, 2013, at 3:58 AM, J Altfas wrote:
>
> > Certainly agree that leaving out usleep was an oversight, considering how
> > simple it is to include it. While I'm pretty sure many of the posix
> > functio
On Tues, 19 Feb 2013 15:13:30 -0600> Jim Ursetto wrote:
> Hmm, I just realized scheduler.scm relies on nanosleep(3) on UNIX, so I guess
> it is safe to use in posix-extras as well. I'll change posix-extras to use
> nanosleep shortly.
>
After all the discussion and further study the merits of n
Sounds interesting, certainly I'd be willing to help test it out, but of
course, not sure exactly what sort of help you're looking for.
Anyway, I regard Scheme is a great language for web programming! At
"webserv.bmedctr.com", you'll find a page describing my Scheme webserver--and
its complete
Yesterday I'd compiled the most recent git-master version of Chicken.
Everything went fine until I encountered a seg-fault failure during "make
test", the culprit being "posix-tests.scm".
In the portion of the test:
(let ((tnpfilpn (create-temporary-file)))
(let ((tmpfilno (file-open tnpfilp
After reading #1005, I was trying to understand what was going on that accounts
for the -1 result in 32 bit systems vs. 0 under 64 bit OS.
Attempting to learn about it, I ran a scheme program using the mmap API
directly--the relevant lines are:
(define mmap-long (foreign-lambda* long ((integer
When I was trying to use (file-type ...) in a compiled module, it was a
big surprise when csc instantly ground to a halt, issuing an error
saying "file-type" was an unknown identifier. (And no, I didn't forgot to
put (import posix) in the module.)
It was especially puzzling since (file-type ) wor
16 matches
Mail list logo