Jeremy Hughes
080b7669e8
alien.inline: added with-c-library word
2009-07-11 00:08:40 +12:00
Jeremy Hughes
f7fac15b8d
alien.inline: added documentation
2009-07-10 23:55:32 +12:00
Jeremy Hughes
a3dd93c140
alien.inline: better names
2009-07-10 23:55:05 +12:00
Jeremy Hughes
3e533db09e
alien.inline: remove vocab argument from define-c-struct
2009-07-10 23:54:40 +12:00
Jeremy Hughes
7e76a8e84d
alien.inline: made define-c-function and define-c-function' standalone
2009-07-10 23:53:50 +12:00
Jeremy Hughes
378b39643c
alien.inline: fix library name and us remove-library
2009-07-10 13:14:43 +12:00
Jeremy Hughes
dc566bd9f2
Merge branch 'master' into inlinec
...
* master: (39 commits)
Revert "Remove unused vocabulary" -- committed patch from the wrong machine
Remove unused vocabulary
Fixing some test failures after url.encoding change
FUEL: Font lock/indentation for M::.
replace 2array "." join with "." glue
contributors: exclude merges to make patch counts more reasonable
alien.libraries: add remove-library word, fix dlclose and dll-valid? VM primitives
alien.libraries: add dispose method for library tuple, and remove-library word; add-library first calls remove-library to properly close the library when reloading
changed single byte writes to write1
removed usages of sprintf
fixed signed number decoding problem
added >upper to push-utf8 to conform with RFC 3986 section 2.1. recommendation
io.launcher: unnecessary word
compiler.cfg.optimizer: fix irrelevant test
compiler.tree.propagation: better length propagation
compiler.cfg.linear-scan: fixing unit tests
compiler.cfg.linear-scan: more code cleanups, and working on split-to-fit algorithm
compiler.cfg.linear-scan: code cleanups
compiler.cfg.linear-scan: split off parallel mapping code from resolve pass, use it in assignment pass to resolve parallel copies
updated llvm.invoker test to use install-bc
...
2009-07-10 13:03:07 +12:00
Jeremy Hughes
c3294c9176
alien.inline.compile: write library files to resource:alien-inline-libs
2009-07-10 13:00:23 +12:00
Slava Pestov
a82ee418d2
alien.libraries: add remove-library word, fix dlclose and dll-valid? VM primitives
2009-07-09 06:51:31 -05:00
Slava Pestov
bd21ef49f3
alien.libraries: add dispose method for library tuple, and remove-library word; add-library first calls remove-library to properly close the library when reloading
2009-07-09 06:41:51 -05:00
Jeremy Hughes
b5b7abe5b3
alien.inline.compile: compiler: use eg++ on openbsd
2009-07-09 14:03:35 +12:00
Jeremy Hughes
023a3fef88
alien.inline: added RAW-C: word
2009-07-08 16:47:55 +12:00
Jeremy Hughes
9209ac3d66
alien.inline.tests: delete libraries before compilation
2009-07-08 15:15:45 +12:00
Jeremy Hughes
21a9f797e5
alien.inline: added C-STRUCTURE:
2009-07-08 15:14:51 +12:00
Jeremy Hughes
a7166cdf89
alien.inline: added C-TYPEDEF:
2009-07-08 14:52:07 +12:00
Jeremy Hughes
cf0a67bb5b
alien.inline: allow compiling from non-file vocabs
2009-07-08 09:45:28 +12:00
Jeremy Hughes
c8666f0f03
alien.inline: added DELETE-C-LIBRARY: word, mainly for tests
...
Conflicts:
basis/alien/inline/inline.factor
2009-07-08 09:45:08 +12:00
Jeremy Hughes
5141c424c9
alien.inline: prepend vocab name to c-library name
...
Conflicts:
basis/alien/inline/inline.factor
2009-07-08 09:43:19 +12:00
Jeremy Hughes
e4266a7fe3
moved alien.inline tests to inline-tests.factor
2009-07-07 17:21:47 +12:00
Jeremy Hughes
b30ed4802a
alien.inline: file get path>> instead of vocab-source-path
2009-07-07 17:21:47 +12:00
Jeremy Hughes
942702166a
alien.inline.compiler: x86_64 check and hook methods
2009-07-07 17:20:54 +12:00
Jeremy Hughes
9bf1cb7242
alien.inline.compiler: use g++ for C++ files
2009-07-06 21:34:27 +12:00
Jeremy Hughes
c68d3889dd
Added alien.inline.types (forgot to add several commits ago)
2009-07-06 21:14:08 +12:00
Jeremy Hughes
84610735d0
alien.inline: reverted refactoring
2009-07-06 11:06:44 +12:00
Jeremy Hughes
69755b37eb
alien.inline: added annotate-effect word
2009-07-05 22:16:58 +12:00
Jeremy Hughes
2b162e4ce8
alien.inline: refactoring
2009-07-05 22:16:58 +12:00
Jeremy Hughes
fc44da28d0
alien.inline: prototype-string: fixed params
2009-07-05 22:16:58 +12:00
Jeremy Hughes
96534a5d95
alien.inline: cify-type: fixed incorrect substitution
2009-07-05 22:16:58 +12:00
Jeremy Hughes
1e7ab018e9
alien.inline: types->effect>params-return: fix for stack order and void return type
2009-07-05 22:16:58 +12:00
Jeremy Hughes
1649f811f4
alien.inline: function-types-effect: fixed incorrect stack order
2009-07-05 22:16:57 +12:00
Jeremy Hughes
9ee25d6148
alien.inline: factorize-type covers unsigned and long
2009-07-05 22:16:57 +12:00
Jeremy Hughes
96bbef8a6f
alien.inline: added define-c-function' and refactored existing words
2009-07-05 22:16:57 +12:00
Jeremy Hughes
b65545d8c9
alien.inline renamed words for runtime use
2009-07-03 15:32:00 +12:00
Jeremy Hughes
96fb5eeb7d
whitespace
2009-07-03 14:55:50 +12:00
Jeremy Hughes
fb94c91465
Unit tests for alien.inline
2009-07-03 11:35:46 +12:00
Jeremy Hughes
2d7b9d01f2
Added copyright headers
2009-07-03 11:35:02 +12:00
Jeremy Hughes
e8af2e78d1
alien.c-syntax -> alien.inline, alien.compile -> alien.inline.compiler
2009-07-03 10:46:19 +12:00
Jeremy Hughes
0eac0709ea
alien.c-syntax alien.compile: symbols instead of strings
2009-07-03 10:43:27 +12:00
Jeremy Hughes
82f4a0a3f3
alien.compile: use locals in some words
2009-07-03 10:42:52 +12:00
Jeremy Hughes
9b81532f35
alien.c-syntax alien.compile: added authors.txt
2009-07-03 07:41:18 +12:00
Jeremy Hughes
6c2cb2d36a
alien.c-syntax: fixed host of problems
2009-07-03 07:35:18 +12:00
Jeremy Hughes
6375467b04
Removed C++-LIBRARY: in favour of COMPILE-AS-C++ statement
2009-07-02 11:35:43 +12:00
Jeremy Hughes
fd67fc38da
Inline C
2009-07-02 11:35:43 +12:00
Slava Pestov
0a3e03efd1
alien.structs: update docs to mention struct-arrays
2009-07-01 16:16:40 -05:00
Slava Pestov
80d6233913
Fix even more usings
2009-05-16 10:45:17 -05:00
Slava Pestov
daec154817
Updating code in basis and extra for stricter vocab search path semantics
2009-05-14 23:23:06 -05:00
Slava Pestov
3ebd4594e8
Implement stricter vocab search path semantics, with a new API for vocabs.parser. Add map-find-last to sequences vocab
2009-05-14 22:31:29 -05:00
Slava Pestov
d7db5edadc
Cleaning up USING: lists for new strict semantics
2009-05-14 16:54:16 -05:00
Slava Pestov
97b3153639
Move wchar_t* typedef from alien.arrays to windows.types since that's the only place that uses it. Reduces deployed image size since io.encodings.utf16 not loaded on Unix
2009-05-12 04:19:22 -05:00
Slava Pestov
9b491d1442
Fix bool type on PowerPC
2009-05-10 19:01:38 -05:00