Commit Graph

64 Commits (cada003d7f29a8b179bdba26fb456672991e0bb9)

Author SHA1 Message Date
Doug Coleman 200b5192ed factor: commit weekend work. 2017-09-11 16:37:47 -05:00
Doug Coleman 2114b7efc5 factor: ALIEN: to alien: 2017-08-31 21:21:13 -05:00
Björn Lindqvist 3faad21b3d llvm.ffi: make the binding linux-specific for now 2017-08-09 12:56:35 +02:00
Doug Coleman 15b13870ae peg.ebnf: Clean up EBNF: syntax.
The syntax for an EBNF parser is now ``EBNF: identifier string``. The
inline syntax went from [EBNF ...  EBNF] to EBNF[[ ]], EBNF[=[ ]=], etc.

<EBNF looked for a main word, but this functionality is just EBNF[[ ]]
now.
2017-08-05 22:23:57 -05:00
Björn Lindqvist 47356c738e llvm: looks like we need not tested tags on the subvocabs too 2017-07-15 18:37:24 +02:00
Björn Lindqvist 1c1afb15a1 llvm.examples.sumfunc: making the example work with the wrapper-based api 2017-07-15 01:22:47 +02:00
Björn Lindqvist ed3e3ebb78 llvm: more of the old api added, and some tests 2017-07-15 01:22:12 +02:00
Björn Lindqvist 1478af9666 llvm.ffi: add-library if found, should fix loading failures 2017-07-14 21:21:04 +02:00
Björn Lindqvist 7ce054a94d llvm: not loaded tag to avoid build machine failures 2017-07-14 18:55:47 +02:00
Björn Lindqvist bc48b82e77 llvm: more of the unmaintained llvm bindings fixed 2017-07-13 04:00:23 +02:00
Björn Lindqvist aab120f69c llvm: turning off testing for now 2017-07-12 23:44:29 +02:00
Björn Lindqvist 7044e398a0 llvm: more vocabs from factor-unmaintained added back 2017-07-12 15:19:07 +02:00
Björn Lindqvist c90a2a28bd llvm: "salvaging" these vocabs from factor-unmaintained
I think a lot of it needs to be updated to work with current llvm
2017-07-11 03:59:38 +02:00
Doug Coleman bc20d1e9f9 llvm: move to unmaintained. it segfaults and the tests are disabled. 2015-07-18 02:27:00 -07:00
Doug Coleman 892c62e1dc factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test 2015-07-03 09:39:59 -07:00
Doug Coleman 59f3b1ea57 Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
Needs a bit more work.

This reverts commit 7e54cc2824.
2015-07-02 13:47:06 -07:00
Doug Coleman 7e54cc2824 factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool! 2015-07-02 11:36:08 -07:00
Doug Coleman 999aa7c897 factor: clean up spaces in -tests files 2015-07-02 10:34:01 -07:00
Doug Coleman 352e5de16a core, basis, extra: Remove DOS line endings from files.
Remove whitespace from end of lines.
Add a newline to the end of each file.
2015-06-29 17:25:40 -07:00
John Benediktsson d68175f48f Some more general fixes for recent refactors. 2015-06-08 19:15:29 -07:00
John Benediktsson de179243ce basis/extra: cleanup uses of add-library. 2014-11-13 13:05:14 -08:00
John Benediktsson d28f7b4242 llvm.engine: fix using. 2014-06-08 18:02:04 -07:00
John Benediktsson 849d8325ea llvm.engine: use find-library, although I think looking for "LLVM-3" might be better. 2014-06-08 13:43:49 -07:00
John Benediktsson a88310438e llvm.core: use find-library. 2014-06-07 15:39:06 -07:00
John Benediktsson 4e72d80256 Using "same?" in more places. 2012-07-21 10:22:44 -07:00
Joe Groff 943596575a use radix literals 2011-11-23 19:03:40 -08:00
Doug Coleman c731dc6edb Rename lookup to lookup-word. 2011-11-06 16:00:00 -08:00
Doug Coleman 763d9a3f7d Missed yet more renames 2011-10-24 17:00:09 -07:00
Doug Coleman 0d059e0f19 Found a few more places to use lookup-c-type 2011-10-24 15:58:40 -07:00
John Benediktsson 4f42c72012 specialized-arrays: performed some cleanup.
Specifically,
    •   Created >c-array to be replacement for >T-array.
    •   Created cast-array to be generic replacement for all T-array-cast words.
    •   Created c-array@ to be generic replacement for T-array@ words.
    •   Replaced usages of <T-array> with T <c-array>
    •   Replaced usages of <direct-T-array> with T <c-direct-array>
    •   Replaced usages of >T-array with T >c-array
    •   Replaced usages of T-array-cast with T cast-array
    •   Replaced usages of malloc-T-array with T malloc-array.
    •   Removed malloc-T-array.
    •   Removed T-array-cast.
    •   Removed T-array@.
    •   Removed >T-array.

I also added (but didn't change any code to use):
    •   T c-array-type, returns T-array
    •   T c-array?, returns T-array?
    •   c-array{ T ... }, returns T-array{ ... }

Bootstraps just find on Mac OS X.  Also `load-all test-all` works for me.
2011-09-26 11:37:51 -07:00
Doug Coleman 2d74c3c9cb llvm.clang.ffi depends on unix.types, so make it unix only 2011-08-28 16:51:58 -05:00
Erik Charlebois 0507e6ec53 Raw clang FFI bindings 2011-05-23 23:36:14 -04:00
Slava Pestov 75560699ea Move <ref>, deref and little-endian? from alien.c-types to alien.data, remove <c-object> 2010-12-25 16:55:36 -08:00
Doug Coleman 4ca9bd0bba Remove usages of <void*> and *void* 2010-10-25 13:22:50 -05:00
Slava Pestov 74af9abf20 Update code for brave new world where alien.parser doesn't special-case void, and instead looks it up like any other word 2010-08-15 02:32:13 -07:00
Doug Coleman bdecd564a3 Use keys/values where appropriate 2010-05-21 12:48:04 -05:00
Joe Groff 4bc915d526 C-ENUM: -> ENUM: 2010-04-19 20:07:16 -07:00
Slava Pestov f6908f513f llvm: fix load errors 2010-04-13 18:43:48 -07:00
Slava Pestov da6bcbedfc Replace 'untested' tag with 'not loaded' and 'not tested' tags 2010-04-13 18:43:01 -07:00
Slava Pestov 2b4a55b53a Merge branch 'master' of git://github.com/erikcharlebois/factor 2010-04-10 18:01:19 -07:00
Erik Charlebois edc489f4c1 Change C-ENUM: to always take a type. Use f for anonymous enums. Update all uses. 2010-04-09 23:48:22 -07:00
Joe Groff 65c3259761 "cdecl" -> cdecl 2010-03-31 19:20:35 -07:00
Joe Groff 4cfa1a6c77 rename current string-mangling "char*" to "c-string". char* is now just a boring old pointer to char 2010-02-23 11:42:02 -08:00
Slava Pestov 95bfc8a240 vocabs.metadata: replace unportable tag with a platforms.txt file for more fine-grained control. Rename unportable tag to untested for remaining cases 2010-02-20 13:30:49 +13:00
Doug Coleman 7ce4b746e5 parsed -> suffix!, add append! 2009-10-28 13:38:27 -05:00
Slava Pestov 7f2e2b1777 Specialized array overhaul
- Replace hand-written specialized-arrays.* subvocabularies with new system; instead of USE:ing specialized-arrays.T, do SPECIALIZED-ARRAY: T
- Ditto for specialized-vectors; use SPECIALIZED-VECTOR:
- io.mmap.functor: removed entirely, use <mapped-array> instead
- struct-arrays and struct-vectors have been removed because specialized arrays and vectors subsume them entirely
2009-09-09 22:33:34 -05:00
Slava Pestov c25ac2a066 llvm: add unportable tag 2009-07-10 07:46:47 -05:00
sheeple b7aac8c13a llvm.core: fix add-llvm-library 2009-07-10 07:38:19 -05:00
Slava Pestov e0fa51512f llvm: new add-llvm-library word to make things a bit more portable 2009-07-10 07:07:54 -05:00
Matthew Willis b0ca5ecffa updated llvm.invoker test to use install-bc 2009-07-01 14:52:15 +09:00