Slava Pestov
c011380a19
compiler: tweak recompilation logic. speeds up '"terrain" require' by 8 seconds
2010-02-04 01:09:57 +13:00
Slava Pestov
22fbe01c17
Compiled code size optimizations for x86-64 resulting in development image size reduction of about 350kb
...
- RIP-relative LEA is now used to load program counter in prolog and tail calls; saves 3 bytes of code and 4 bytes of relocation information over an immediate MOV
- VM field accesses no longer involve a redundant addition
2010-02-03 23:11:35 +13:00
Slava Pestov
bf40237a17
vm: always check call sites when installing PICs, not just when FACTOR_DEBUG is on, since the check is cheap and saves debugging time when compiler is changed
2010-02-03 23:11:34 +13:00
Slava Pestov
eed0b27d5d
tools.memory: display some more code heap stats
2010-02-03 23:11:34 +13:00
Slava Pestov
87665c8f40
math.statistics: rename histogram* to histogram! and rename sequence>assoc* to sequence>assoc!
2010-02-03 23:11:33 +13:00
Slava Pestov
662eba7a67
compiler.tree.propagation.call-effect: hack so that call( doesn't clear the last error
2010-02-03 23:11:33 +13:00
Slava Pestov
26cae00eeb
Add code heap introspection primitive to VM, and make a code-blocks word in tools.memory that wraps a useful interface around this. Add a lookup-return-address word and use this in tools.disassembler.utils
2010-02-03 23:11:32 +13:00
Slava Pestov
03c5293e68
binary-search: improve docs
2010-02-03 23:11:32 +13:00
Slava Pestov
f8828aef8d
strings.tables: fix a logic error
2010-02-03 23:11:31 +13:00
Slava Pestov
0b278adb5a
Test fixes
2010-02-03 23:11:31 +13:00
Slava Pestov
7846074b3b
db: update for ERROR: change
2010-02-03 23:11:31 +13:00
Slava Pestov
0438e4983b
macros: handle compile-time stack effect check of macro body more elegantly than previous attempt
2010-02-03 23:11:31 +13:00
Slava Pestov
7e64810a00
tuple-arrays: cleanup
2010-02-03 23:11:30 +13:00
Slava Pestov
f8474c3856
Documentation improvements
2010-02-03 23:11:30 +13:00
Slava Pestov
7de81976a5
Revert "macros: macro body is now defined in its own subword, for compile-time stack effect checking"
...
This reverts commit 24de7c52f0c3f21cfcdb80235cac7296b0401c85.
2010-02-03 23:11:29 +13:00
Slava Pestov
13eba38801
prettyprint.callables: not needed anymore since fry output is prettier
2010-02-03 23:11:29 +13:00
Slava Pestov
3259ef4bec
vm: modify-code-heap primitive now takes a pair of parameters, update-existing? and reset-pics?. If no generic words were changed, PICs do not need to be reset. If no existing words were redefined, the code heap doesn't have to be traced at all. Speeds up compilation of PEGs since those create lots of compilation units
2010-02-03 23:11:28 +13:00
Slava Pestov
0b207caa87
combinators: fix typo
2010-02-03 23:11:28 +13:00
Slava Pestov
3e8d21b493
Clarify documentation for compilation units and 'undefined' error
2010-02-03 23:11:28 +13:00
Slava Pestov
cde6a2c5f7
prettyprint: make callstack output needlessly fancier
2010-02-03 23:11:26 +13:00
Slava Pestov
2879299999
combinators: ricing call-effect
2010-02-03 23:11:26 +13:00
Slava Pestov
31cf64eb84
listener: add tools.walker to default interactive vocab path
2010-02-03 23:11:26 +13:00
Slava Pestov
a005e678db
classes.tuple: make error slots read only for small space savings
2010-02-03 23:11:25 +13:00
Slava Pestov
55a89ec9c2
Better error message for call( when quotation has the wrong effect
2010-02-03 23:11:25 +13:00
Slava Pestov
df55fed478
generic: rename method-body predicate class to method
2010-02-03 23:11:24 +13:00
Slava Pestov
fbf078d4b3
words: undefined error now contains the word in question
2010-02-03 23:11:23 +13:00
Slava Pestov
b7fde7af27
macros: macro body is now defined in its own subword, for compile-time stack effect checking
2010-02-03 23:11:22 +13:00
Slava Pestov
e32d5fd0ac
Minor updates to string documentation
2010-02-03 23:07:53 +13:00
Slava Pestov
ed9251c56c
Merge branch 'master' of git://github.com/littledan/Factor
2010-02-03 22:58:25 +13:00
Slava Pestov
080609c281
Minor doc fixes
2010-02-03 22:56:32 +13:00
Brad Christensen
7381d47103
More documentation cleanup.
2010-02-03 00:05:04 -07:00
Brad Christensen
9b9322ea1e
A number of documentation fixes and cleanup.
2010-02-03 00:05:03 -07:00
Brad Christensen
1404bf71d5
Minor doc cleanup.
2010-02-03 00:05:02 -07:00
Doug Coleman
748f4d7244
Merge branch 'master' of git://factorcode.org/git/factor
2010-02-03 00:05:15 -06:00
Doug Coleman
c2b377eb83
Change benchmark.recursive to make less recursions to avoid overflowing the callstack on win64
2010-02-03 00:04:37 -06:00
Slava Pestov
7d9628a6ae
vm: fix ffi_test.h
2010-02-02 05:15:42 -05:00
Slava Pestov
c6bc1d702e
Merge branch 'master' of git://github.com/erikcharlebois/factor
2010-02-02 04:04:29 -06:00
Slava Pestov
bf05a901c4
Fix ffi-test library to work with Windows SDK. Turns out MINGW has a different ABI for struct returns than MS's compiler; make the MS ABI the default for cdecl on Windows, and add mingw ABI for libraries that use the MINGW ABI
2010-02-02 04:01:12 -06:00
Joe Groff
1ee05e38fb
missed an alien.fortran test
2010-02-02 00:13:13 -08:00
Daniel Ehrenberg
8d0705805b
Updating docs to say Unicode 5.2
2010-02-02 01:49:24 -06:00
Daniel Ehrenberg
6cc2d0f1d7
Updating Unicode to version 5.2
2010-02-02 01:38:17 -06:00
erikc
e82aca026c
Merge branch 'master' of git://github.com/slavapestov/factor
2010-02-01 22:13:05 -08:00
erikc
03966e4fb2
Move collada viewer to extra/model-viewer
2010-02-01 22:12:22 -08:00
Joe Groff
f1bbeec198
wrap alien.fortran c-type conversion tests in with-manifest
2010-02-01 22:03:51 -08:00
erikc
e1223e056f
Unify obj and collada loading under a common models umbrella loader
2010-02-01 18:44:09 -08:00
Joe Groff
9adfda095f
alien.fortran: convert fortran types to word c-types
2010-02-01 12:06:10 -08:00
Joe Groff
df744bf633
tweak images.atlas interface. return a hash of images to texcoords for the images that made up the atlas
2010-02-01 12:05:28 -08:00
Slava Pestov
444247d890
mason: print callstack trace for build loop errors
2010-02-01 12:41:04 -06:00
Slava Pestov
2022c2a83e
io.launcher.windows: include launch descriptor in error thrown when launching a process fails
2010-02-01 12:39:29 -06:00
Slava Pestov
e7de95e72b
compiler.crossref: clean up and fix bug with forgotten classes
2010-02-01 17:20:08 +13:00