Commit Graph

301 Commits

Author SHA1 Message Date
Jeff Bezanson 3293630c84 fix argument handling bug in fl_map1
need to pop after _applyn; functions might rewrite the stack to
contain non-values.
2013-06-10 19:12:53 -04:00
Jeff Bezanson 0aa1359a3e Merge branch 'master' of github.com:JeffBezanson/femtolisp 2013-06-08 19:29:46 -04:00
Jeff Bezanson a76b29eee8 several minor changes and additions:
- add io.ungetc and string.isutf8
- maintain input order in delete-duplicates
- error for unicode escapes greater than 0x10ffff
- make more builtins constant (use setc instead of set)
- use prog1 in begin0 macro
- array-ref was incorrectly called array-ref! in aliases.scm
- use (void) instead of () in 0-arg C functions
- don't do arithmetic with void*
2013-06-08 19:29:15 -04:00
Jeff Bezanson 6327453895 Merge pull request #8 from jturner/master
Adds support for OpenBSD and INITFILE define
2013-06-03 21:15:47 -07:00
James Turner 56b46ba923 Allow the defining of an init file at build time
Since OpenBSD is unable to determine the pathname of a running process,
this allows us to specify the full path to flisp.boot. This will also
come in handy for system wide installs where you want flisp to live in
bin and flisp.boot to live in share or a similar location.
2013-06-03 21:40:51 -04:00
James Turner 19a835847c Add support for OpenBSD 2013-06-03 21:40:14 -04:00
Jeff Bezanson 2c2c145fbb Merge pull request #7 from jondistad/osx-update
Minor modifications to build on current OS X machine
2013-05-12 23:29:18 -07:00
Jon Distad 3707cc21ab Updated carbon path and pointer size check 2013-05-08 19:41:21 -04:00
Jeff Bezanson fe8b88cfc6 fix bug printing custom cvalue types that lack print methods 2013-03-31 00:20:54 -04:00
Jeff Bezanson a0707331b8 add wcwidth.c for windows 2013-03-29 00:43:52 -04:00
Jeff Bezanson 2b105a5212 change wcwidth detection
fix some compiler warnings
2013-03-29 00:35:42 -04:00
Jeff Bezanson 8a63b14754 Merge pull request #6 from nroza/master
preprocessor platform detection and extern decl
2013-03-28 21:17:32 -07:00
Neil d35a5d87aa adding /llt/*.a to .gitignore 2013-03-19 20:04:19 -04:00
Neil b6623413b9 added /llt/*.o to .gitignore 2013-03-19 20:01:40 -04:00
Neil 7b771097fc trying some preprocessor platform detection 2013-03-17 15:02:33 -04:00
Jeff Bezanson ee807a2cf3 fix a bug in map
faster delete-duplicates for long lists
2013-02-11 04:48:21 -05:00
Jeff Bezanson 71a1cb6f09 update tiny/lisp.c for 64-bit 2012-10-11 23:00:29 -04:00
Jeff Bezanson 2bc8ab38fd some fixes to macosx makefiles 2012-10-11 22:36:02 -04:00
Jeff Bezanson 72d1ee7522 fixing large int64 comparison bug 2012-03-15 00:21:39 -04:00
Jeff Bezanson c019b3bf2d portability improvements 2012-02-26 23:00:47 -05:00
Jeff Bezanson a7c0396a2f setting numeric locale to "C" to make sure literals are parsed correctly 2012-02-21 12:33:35 -05:00
Jeff Bezanson a39e4f366d removing leading/trailing underscores from preprocessor symbols 2012-02-20 17:43:53 -05:00
Jeff Bezanson 6ed61e66ac moving some flisp-specific code out of library 2012-02-17 23:59:45 -05:00
Jeff Bezanson 689ec946d8 removing some unused stuff 2012-02-17 19:08:50 -05:00
Jeff Bezanson bcd381bf90 a rename 2012-02-17 18:36:19 -05:00
Jeff Bezanson 2f9d6593d4 makefile updates 2012-02-17 17:58:21 -05:00
Jeff Bezanson 2b34bcfbd3 moving stuff around some more 2012-02-17 17:53:34 -05:00
Jeff Bezanson 6afa9c998f small readme fix 2012-02-17 17:42:03 -05:00
Jeff Bezanson dca4cd41d4 adding readme 2012-02-17 17:41:11 -05:00
Jeff Bezanson f1fe3edd47 some more renaming 2012-02-17 17:39:41 -05:00
Jeff Bezanson ed2b11a8ac some cleanup 2012-02-17 17:38:10 -05:00
JeffBezanson 21dd640454 some fixes to ios 2012-01-17 04:31:08 +00:00
JeffBezanson 3d25a1a672 fixing a bug in character-number comparison 2011-12-14 06:57:25 +00:00
JeffBezanson 3f4b26a46f checking for overflow in integer literals
fixing FLT_EPSILON
2011-08-16 19:59:46 +00:00
JeffBezanson 0bbfb48b9c improved implementation of backquote 2011-04-11 03:24:30 +00:00
JeffBezanson 4cd78cb562 getting rid of label
adding optional, faster built-in map
checking in soon-to-be code for quasiquote
a couple library bug fixes
2010-12-23 06:49:37 +00:00
JeffBezanson 9e07001ae0 adding \e character escape
calling GC_init when appropriate
fixing some ios bugs
adding ios_static_buffer
2010-08-28 05:07:02 +00:00
JeffBezanson 0d643a05fe fixing small exception bug 2010-08-17 02:03:11 +00:00
JeffBezanson eaac150672 misc. updates, mostly about portability and warnings
removing some unnecessary #includes
2010-08-04 19:03:19 +00:00
JeffBezanson 561e0b07e1 fixing subtle bug where heapsize was set wrong at some points 2010-07-06 23:13:54 +00:00
JeffBezanson 8ea6157c15 some LLT fixes
improve portability of byte order test
2010-05-14 21:01:00 +00:00
JeffBezanson 46009027c2 fixing a 64-bit issue and a nan issue 2010-05-09 00:42:37 +00:00
JeffBezanson 2e9a8c21cc porting over some improvements: now fl_applyn can handle any function
(lambda wrappers for opcodes)
faster separate
2010-05-05 05:31:46 +00:00
JeffBezanson caf7f15f44 porting over some small changes from julia's flisp 2010-05-05 00:00:37 +00:00
JeffBezanson 3bac64cbd7 print improvements 2010-05-04 23:54:07 +00:00
JeffBezanson 271cf34e99 some critical bug fixes 2010-05-04 18:17:55 +00:00
JeffBezanson 6bf5aa0c72 fixes for boehm compatibility 2010-05-03 05:07:22 +00:00
JeffBezanson 23b728155f some boehm gc tweaks 2010-05-02 23:23:00 +00:00
JeffBezanson a2b57453cb adding interoperability with boehm gc if BOEHM_GC is defined 2010-05-02 20:36:39 +00:00
JeffBezanson 8d7576250d porting over some minor changes to LLT 2010-05-02 18:28:53 +00:00