k8-xscheme:k8-xscheme.git
8 years agoadded two more libraries
ketmar [Fri, 2 Apr 2010 23:18:37 +0000 (02:18 +0300)]
added two more libraries

8 years agoadded documentation for some macros and library functions
ketmar [Fri, 2 Apr 2010 23:15:19 +0000 (02:15 +0300)]
added documentation for some macros and library functions

8 years agoadded libinfo to some libs; integrated libinfo in main xscheme executable
ketmar [Fri, 2 Apr 2010 22:36:01 +0000 (01:36 +0300)]
added libinfo to some libs; integrated libinfo in main xscheme executable

8 years agoadded more macroses to stdinit ('cause macroses can't be in autolibraries)
ketmar [Fri, 2 Apr 2010 22:10:09 +0000 (01:10 +0300)]
added more macroses to stdinit ('cause macroses can't be in autolibraries)

8 years agoadded "autorequire"; preparing libraries for autorequire
ketmar [Fri, 2 Apr 2010 21:59:17 +0000 (00:59 +0300)]
added "autorequire"; preparing libraries for autorequire

8 years agofixed bug in 'str[r]chr' family
ketmar [Fri, 2 Apr 2010 21:24:19 +0000 (00:24 +0300)]
fixed bug in 'str[r]chr' family

8 years agoadded some synonyms ($chr, etc)
ketmar [Fri, 2 Apr 2010 21:22:21 +0000 (00:22 +0300)]
added some synonyms ($chr, etc)

8 years agoadded some documentation for standard libs
ketmar [Fri, 2 Apr 2010 21:20:49 +0000 (00:20 +0300)]
added some documentation for standard libs

8 years agosmall fix for windoze
ketmar [Fri, 2 Apr 2010 21:10:26 +0000 (00:10 +0300)]
small fix for windoze

8 years agoadded (current-dir) and (current-dir-set!)
ketmar [Fri, 2 Apr 2010 21:09:06 +0000 (00:09 +0300)]
added (current-dir) and (current-dir-set!)

8 years agoadded "simple.scm" for XScheme embedding sample
ketmar [Fri, 2 Apr 2010 21:00:24 +0000 (00:00 +0300)]
added "simple.scm" for XScheme embedding sample

8 years agofixed bug with dlib: first free XScheme pool and then unload libs, not vice versa...
ketmar [Fri, 2 Apr 2010 20:59:32 +0000 (23:59 +0300)]
fixed bug with dlib: first free XScheme pool and then unload libs, not vice versa; added "glob" dlib

8 years agouser type now can be called just like an ordinary function/subr
ketmar [Fri, 2 Apr 2010 20:04:53 +0000 (23:04 +0300)]
user type now can be called just like an ordinary function/subr

8 years ago"xschemeex.c" builder moved to sysinit
ketmar [Fri, 2 Apr 2010 19:48:00 +0000 (22:48 +0300)]
"xschemeex.c" builder moved to sysinit

8 years agorenamed "scm/" to "sysinit/"; fixed undocumented "-Z" option (it works now)
ketmar [Fri, 2 Apr 2010 19:42:17 +0000 (22:42 +0300)]
renamed "scm/" to "sysinit/"; fixed undocumented "-Z" option (it works now)

8 years agoadded "(do)" library
ketmar [Fri, 2 Apr 2010 19:30:22 +0000 (22:30 +0300)]
added "(do)" library

8 years agoadded very simple 'values', 'let-values' and 'call-with-values'
ketmar [Fri, 2 Apr 2010 19:19:08 +0000 (22:19 +0300)]
added very simple 'values', 'let-values' and 'call-with-values'

8 years agoremoved unused things from default init; splitted default init to dirs (NOT FULLY...
ketmar [Fri, 2 Apr 2010 19:03:50 +0000 (22:03 +0300)]
removed unused things from default init; splitted default init to dirs (NOT FULLY TESTED YET!)

8 years agodebug info writer slightly changed
ketmar [Fri, 2 Apr 2010 17:22:11 +0000 (20:22 +0300)]
debug info writer slightly changed

8 years agobuild_init will not use tempfile anymore (we have working dynamic ports now)
ketmar [Fri, 2 Apr 2010 17:20:47 +0000 (20:20 +0300)]
build_init will not use tempfile anymore (we have working dynamic ports now)

8 years agofixes to dynamic ports
ketmar [Fri, 2 Apr 2010 17:07:03 +0000 (20:07 +0300)]
fixes to dynamic ports

8 years agoannotations are broken
ketmar [Fri, 2 Apr 2010 16:51:43 +0000 (19:51 +0300)]
annotations are broken

8 years agofixed bug in (rand-seed-set!); added 'black metal song names generator'
ketmar [Fri, 2 Apr 2010 04:00:59 +0000 (07:00 +0300)]
fixed bug in (rand-seed-set!); added 'black metal song names generator'

8 years agofixed idiotic 'fix' in pertty-printer
ketmar [Fri, 2 Apr 2010 03:52:09 +0000 (06:52 +0300)]
fixed idiotic 'fix' in pertty-printer

8 years agoadded fixes for pretty-printer
ketmar [Fri, 2 Apr 2010 03:51:17 +0000 (06:51 +0300)]
added fixes for pretty-printer

8 years agofuck! fixed broken 'vector->list' for vectors %-)
ketmar [Fri, 2 Apr 2010 03:50:19 +0000 (06:50 +0300)]
fuck! fixed broken 'vector->list' for vectors %-)

8 years ago'vector->list' now understands byte vectors; added 'list->bvector'
ketmar [Fri, 2 Apr 2010 03:46:12 +0000 (06:46 +0300)]
'vector->list' now understands byte vectors; added 'list->bvector'

8 years agofixed bug in pretty-printer of vectors
ketmar [Fri, 2 Apr 2010 03:29:34 +0000 (06:29 +0300)]
fixed bug in pretty-printer of vectors

8 years ago'format' now can be called as (format "str" ...)
ketmar [Thu, 1 Apr 2010 23:19:04 +0000 (02:19 +0300)]
'format' now can be called as (format "str" ...)

8 years agosimple sharp-wow followed by space is ignored now (this allows me to do scheme shebagns)
ketmar [Thu, 1 Apr 2010 23:11:44 +0000 (02:11 +0300)]
simple sharp-wow followed by space is ignored now (this allows me to do scheme shebagns)

8 years agoadded comment about SRFI-17 to setex library
ketmar [Thu, 1 Apr 2010 23:05:42 +0000 (02:05 +0300)]
added comment about SRFI-17 to setex library

8 years agoswitched cmdline args 'T' and 't'
ketmar [Thu, 1 Apr 2010 22:56:25 +0000 (01:56 +0300)]
switched cmdline args 'T' and 't'

8 years agoadded synonym for 'list*': 'cons*'
ketmar [Thu, 1 Apr 2010 22:55:12 +0000 (01:55 +0300)]
added synonym for 'list*': 'cons*'

8 years agostarted optimizer library
ketmar [Thu, 1 Apr 2010 22:54:05 +0000 (01:54 +0300)]
started optimizer library

8 years agonicer environment printing
ketmar [Thu, 1 Apr 2010 22:18:41 +0000 (01:18 +0300)]
nicer environment printing

8 years agoadded 'ifnot' special form
ketmar [Thu, 1 Apr 2010 21:32:33 +0000 (00:32 +0300)]
added 'ifnot' special form

8 years agoadded one additional output to parameterize test
ketmar [Thu, 1 Apr 2010 21:23:17 +0000 (00:23 +0300)]
added one additional output to parameterize test

8 years agoadded dynamic unwinder in some strategic places
ketmar [Thu, 1 Apr 2010 21:22:35 +0000 (00:22 +0300)]
added dynamic unwinder in some strategic places

8 years ago'old-apply' -> '%old-apply'
ketmar [Thu, 1 Apr 2010 21:19:59 +0000 (00:19 +0300)]
'old-apply' -> '%old-apply'

8 years agoparameterize made simplier (order of var evaluation is undefined, so i can use this...
ketmar [Thu, 1 Apr 2010 21:18:57 +0000 (00:18 +0300)]
parameterize made simplier (order of var evaluation is undefined, so i can use this fact)

8 years agoadded "fluid-let"; this is simple thing that will not restore vars on error
ketmar [Thu, 1 Apr 2010 20:26:02 +0000 (23:26 +0300)]
added "fluid-let"; this is simple thing that will not restore vars on error

8 years agobench.scm now works again
ketmar [Thu, 1 Apr 2010 20:13:11 +0000 (23:13 +0300)]
bench.scm now works again

8 years agofixed documentation for dynamic/string ports; fixed documentation for ports
ketmar [Thu, 1 Apr 2010 19:58:06 +0000 (22:58 +0300)]
fixed documentation for dynamic/string ports; fixed documentation for ports

8 years agonow XScheme calls unwinders on error
ketmar [Thu, 1 Apr 2010 19:51:35 +0000 (22:51 +0300)]
now XScheme calls unwinders on error

8 years agoadded "parameterize" library
ketmar [Thu, 1 Apr 2010 18:24:16 +0000 (21:24 +0300)]
added "parameterize" library

8 years agoadded "#!eof" and option -T to ignore it (useful to add library testing code)
ketmar [Thu, 1 Apr 2010 18:22:57 +0000 (21:22 +0300)]
added "#!eof" and option -T to ignore it (useful to add library testing code)

8 years agopretty-printer now knows about dynamic-wind
ketmar [Thu, 1 Apr 2010 18:10:41 +0000 (21:10 +0300)]
pretty-printer now knows about dynamic-wind

8 years ago'reverse!' will not segfault on invalid lists
ketmar [Thu, 1 Apr 2010 17:58:38 +0000 (20:58 +0300)]
'reverse!' will not segfault on invalid lists

8 years agoadded some silly dox about reader sugar.
ketmar [Wed, 31 Mar 2010 13:33:17 +0000 (16:33 +0300)]
added some silly dox about reader sugar.

8 years agobyte vector now don't printed twice
ketmar [Wed, 31 Mar 2010 13:27:30 +0000 (16:27 +0300)]
byte vector now don't printed twice

8 years agoreader now understands bytevectors and datum comments (untested yet)
ketmar [Wed, 31 Mar 2010 13:25:28 +0000 (16:25 +0300)]
reader now understands bytevectors and datum comments (untested yet)

8 years agoTRE regexp functinons renamed to T...
ketmar [Sun, 28 Mar 2010 19:53:03 +0000 (22:53 +0300)]
TRE regexp functinons renamed to T...

8 years agoupdated dox for 'str[r]chr[-ci]'
ketmar [Sun, 28 Mar 2010 18:51:29 +0000 (21:51 +0300)]
updated dox for 'str[r]chr[-ci]'

8 years agoadded 'str[r]chr[-ci]' functions and dox
ketmar [Sun, 28 Mar 2010 18:50:45 +0000 (21:50 +0300)]
added 'str[r]chr[-ci]' functions and dox

8 years agoadded string finders
ketmar [Sun, 28 Mar 2010 15:23:54 +0000 (18:23 +0300)]
added string finders

8 years agoadded documentation for 'reverse!' and 'append!'
ketmar [Sun, 28 Mar 2010 14:36:24 +0000 (17:36 +0300)]
added documentation for 'reverse!' and 'append!'

8 years agoadded (untested) 'append!' function
ketmar [Sun, 28 Mar 2010 14:34:12 +0000 (17:34 +0300)]
added (untested) 'append!' function

8 years agoDorai Sitaram's pregesp.scm seems to work; added
ketmar [Sun, 28 Mar 2010 03:47:03 +0000 (06:47 +0300)]
Dorai Sitaram's pregesp.scm seems to work; added

8 years agoadded 'simple strings: <hash>"..." (no escapes, '""' means single '"')
ketmar [Sun, 28 Mar 2010 03:35:25 +0000 (06:35 +0300)]
added 'simple strings: <hash>"..." (no escapes, '""' means single '"')

8 years agofixed bug in (cond ... => ...)
ketmar [Sun, 28 Mar 2010 02:47:55 +0000 (05:47 +0300)]
fixed bug in (cond ... => ...)

8 years agofixed bug in (char-alphabetic?)
ketmar [Sun, 28 Mar 2010 02:36:12 +0000 (05:36 +0300)]
fixed bug in (char-alphabetic?)

8 years agofixed bug in 'char->numeric?'
ketmar [Sun, 28 Mar 2010 02:32:36 +0000 (05:32 +0300)]
fixed bug in 'char->numeric?'

8 years agoadded 'string->number'
ketmar [Sun, 28 Mar 2010 02:26:30 +0000 (05:26 +0300)]
added 'string->number'

8 years agoadded more char predicates
ketmar [Sun, 28 Mar 2010 02:00:51 +0000 (05:00 +0300)]
added more char predicates

8 years agoadded new primitive: 'reverse!'
ketmar [Sun, 28 Mar 2010 01:43:20 +0000 (04:43 +0300)]
added new primitive: 'reverse!'

8 years agoreader understands new chars: "nul", "null", "nl"
ketmar [Sun, 28 Mar 2010 01:35:49 +0000 (04:35 +0300)]
reader understands new chars: "nul", "null", "nl"

8 years agoreader understands "return" char
ketmar [Sun, 28 Mar 2010 01:33:11 +0000 (04:33 +0300)]
reader understands "return" char

8 years agoadded 'peek-char' function
ketmar [Sun, 28 Mar 2010 00:43:49 +0000 (02:43 +0200)]
added 'peek-char' function

8 years agosome fixes to documentation
ketmar [Sun, 28 Mar 2010 00:23:49 +0000 (02:23 +0200)]
some fixes to documentation

8 years ago(set!) doesn't silently creates top-level bindings now
ketmar [Sun, 28 Mar 2010 00:11:15 +0000 (02:11 +0200)]
(set!) doesn't silently creates top-level bindings now

8 years agodocumented return values of (set!) and (define)
ketmar [Sat, 27 Mar 2010 23:56:11 +0000 (01:56 +0200)]
documented return values of (set!) and (define)

8 years agonew library: coroutine; fix to setex library
ketmar [Sat, 27 Mar 2010 23:40:52 +0000 (01:40 +0200)]
new library: coroutine; fix to setex library

8 years agoadded funny (amb) function (and amb library)
ketmar [Sat, 27 Mar 2010 22:04:03 +0000 (00:04 +0200)]
added funny (amb) function (and amb library)

8 years agoadded some list utilities: reverse!, every?, any?
ketmar [Sat, 27 Mar 2010 21:17:48 +0000 (23:17 +0200)]
added some list utilities: reverse!, every?, any?

8 years agoadded "-v" arg to use "verbose load"
ketmar [Sat, 27 Mar 2010 21:05:01 +0000 (23:05 +0200)]
added "-v" arg to use "verbose load"

8 years agosample moved to separate dir
ketmar [Sat, 27 Mar 2010 21:00:53 +0000 (23:00 +0200)]
sample moved to separate dir

8 years agoit compiles with MinGW again
ketmar [Sat, 27 Mar 2010 20:59:19 +0000 (22:59 +0200)]
it compiles with MinGW again

8 years agoremoved some ifdefs from main driver
ketmar [Sat, 27 Mar 2010 20:57:16 +0000 (22:57 +0200)]
removed some ifdefs from main driver

8 years agofuck! forgot to add moved xstre!
ketmar [Sat, 27 Mar 2010 20:56:14 +0000 (22:56 +0200)]
fuck! forgot to add moved xstre!

8 years agoTRE module moved to xlibs
ketmar [Sat, 27 Mar 2010 20:55:59 +0000 (22:55 +0200)]
TRE module moved to xlibs

8 years agoa little fix in built-in init
ketmar [Sat, 27 Mar 2010 20:52:12 +0000 (22:52 +0200)]
a little fix in built-in init

8 years ago"socket" and "termio" are dynamic libs now
ketmar [Sat, 27 Mar 2010 20:31:38 +0000 (22:31 +0200)]
"socket" and "termio" are dynamic libs now

8 years agoadded "timer" dynamic library
ketmar [Sat, 27 Mar 2010 20:09:08 +0000 (22:09 +0200)]
added "timer" dynamic library

8 years agoAPI reworked; sample reworked to use new API
ketmar [Sat, 27 Mar 2010 19:31:48 +0000 (21:31 +0200)]
API reworked; sample reworked to use new API

8 years agoadded xsExecuteInterruptor() to execute various callbacks inside xsExecute()
ketmar [Sat, 27 Mar 2010 18:12:43 +0000 (20:12 +0200)]
added xsExecuteInterruptor() to execute various callbacks inside xsExecute()

8 years agoadded "dynamic modules" (dlib:load); only for GNU/Linux
ketmar [Sat, 27 Mar 2010 17:51:46 +0000 (19:51 +0200)]
added "dynamic modules" (dlib:load); only for GNU/Linux

8 years agoadded 'flush-port'; documented some functions and function args
ketmar [Fri, 26 Mar 2010 13:54:33 +0000 (15:54 +0200)]
added 'flush-port'; documented some functions and function args

8 years ago'call/cc' now defined in build-in dynamic-wind.scm instead of core
ketmar [Fri, 26 Mar 2010 13:33:48 +0000 (15:33 +0200)]
'call/cc' now defined in build-in dynamic-wind.scm instead of core

8 years ago'*eval-str*' renamed to '%EVAL-WHOLE-STRING', 'cause this is mostly the internal...
ketmar [Fri, 26 Mar 2010 13:28:59 +0000 (15:28 +0200)]
'*eval-str*' renamed to '%EVAL-WHOLE-STRING', 'cause this is mostly the internal function

8 years agoremoved last leftovers of direct bytecode feeding
ketmar [Fri, 26 Mar 2010 13:25:56 +0000 (15:25 +0200)]
removed last leftovers of direct bytecode feeding

  pre-initializer not a function anymore

8 years agodefault functions now compiled from strings instead of direct bytecode feeding
ketmar [Fri, 26 Mar 2010 13:18:00 +0000 (15:18 +0200)]
default functions now compiled from strings instead of direct bytecode feeding

8 years agouser types now have the same (by design, not literally) 'def' structure as ports
ketmar [Fri, 26 Mar 2010 02:09:11 +0000 (04:09 +0200)]
user types now have the same (by design, not literally) 'def' structure as ports

8 years agoamalgamized some files; nearly all internal primitives aren't public now
ketmar [Thu, 25 Mar 2010 23:37:01 +0000 (01:37 +0200)]
amalgamized some files; nearly all internal primitives aren't public now

8 years agoadded "setex" library, which transforms the things like (set! (car a) b) to (set...
ketmar [Thu, 25 Mar 2010 23:15:39 +0000 (01:15 +0200)]
added "setex" library, which transforms the things like (set! (car a) b) to (set-car! a b)

8 years agofixed dox for 'gensym'; added xmatch.scm and some library tests
ketmar [Thu, 25 Mar 2010 23:00:35 +0000 (01:00 +0200)]
fixed dox for 'gensym'; added xmatch.scm and some library tests

8 years agoshit! all gensym's was broken due to autoquoting of keywords!
ketmar [Thu, 25 Mar 2010 22:57:12 +0000 (00:57 +0200)]
shit! all gensym's was broken due to autoquoting of keywords!

8 years agoresetting ^C counter when readline invoked
ketmar [Thu, 25 Mar 2010 21:47:15 +0000 (23:47 +0200)]
resetting ^C counter when readline invoked

8 years agofixed bug in compiler: it hungs on second and other '#!optional's; added 'forced...
ketmar [Thu, 25 Mar 2010 21:44:33 +0000 (23:44 +0200)]
fixed bug in compiler: it hungs on second and other '#!optional's; added 'forced shutdown' on ^C^C^C

8 years agoadded simple termio interface (so we can work with raw terminal i/o now)
ketmar [Thu, 25 Mar 2010 21:07:33 +0000 (23:07 +0200)]
added simple termio interface (so we can work with raw terminal i/o now)

8 years agodo not use 'linenoise' if stdin is not a tty
ketmar [Thu, 25 Mar 2010 19:47:30 +0000 (21:47 +0200)]
do not use 'linenoise' if stdin is not a tty