Commit Graph

32 Commits (f140d48e24aa8ed3a1ca57798f36a542db8bcfc7)

Author SHA1 Message Date
Alexander Iljin 504c9959a1 Update some copyright headers to follow the current convention
Had to look through the history to find years for some headers. Added
authors to some files as well.
2017-09-11 15:43:03 -07:00
John Benediktsson e0389df8c4 Revert "alien.parser: throw error if enum values don't fit c-type."
This reverts commit 2e326498a4.
2016-11-09 15:41:54 -08:00
John Benediktsson 2e326498a4 alien.parser: throw error if enum values don't fit c-type. 2016-11-08 21:45:54 -08:00
Björn Lindqvist b418b434fa alien.debugger: this vocab isn't needed
The summary methods doesn't need dedicated vocabs. Unlike prettyprint methods.
2016-08-15 15:16:41 +02:00
Björn Lindqvist 907d63c16b alien.*: moving the c-type-string word to the alien.c-types vocab
This way it can be used in alien.parser instead of return-type-name.
2016-08-10 21:34:38 +02:00
Björn Lindqvist dbd716cc99 alien.parser: method object return-type-name is redundant 2016-08-10 21:34:37 +02:00
Björn Lindqvist 941c9fabd4 alien.parser,gobject-introspection.ffi: fixing the manifest test errors (see #1463) 2016-05-28 19:01:54 +02:00
Björn Lindqvist b96077beb7 alien.parser: better fix for #1535
These changes ensure that reset-generic is called when parsing alien
words. Otherwise problems occur when you redefine generics as callbacks
or typedefs.
2016-05-28 17:22:45 +02:00
Björn Lindqvist 69f667edc8 alien.parser: make make-callback-type have the same signature as make-function 2016-05-28 17:21:45 +02:00
Björn Lindqvist 350e890a03 alien.parser: fix for #1535
(CREATE-C-TYPE) needs to be called on the word naming the
callback. Otherwise the old definition remains in old-definition and you
can get a no word found error.
2016-05-27 20:54:52 +02:00
Doug Coleman 14ba179254 factor: change FUNCTION: and similar to not have trailing ; 2015-07-19 16:24:47 -07:00
Doug Coleman 892c62e1dc factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test 2015-07-03 09:39:59 -07:00
Doug Coleman 0124e630f0 alien.parser: add a couple of commas 2015-07-02 17:29:12 -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 964cbf894b core/basis: Trim or reorganize a few using lists. Playing around with auto-use restarts and private words. 2014-10-27 13:39:30 -07:00
John Benediktsson 80e1c8e3f2 Eliminate duplicate syntax for stack effects "(" no longer drops and is identical to the old "((", which is now removed. 2011-10-18 13:19:39 -07:00
Slava Pestov 25ea734a8e alien.parser: make int[3]* parse, make int[3][4 not parse 2010-08-15 02:37:17 -07:00
Slava Pestov e8152e9098 alien.parser: array types where the base type was a pointer didn't parse (reported by Dmitry Shubin) 2010-08-15 02:32:12 -07:00
Slava Pestov 6142bd7335 alien.syntax: FUNCTION: and FUNCTION-ALIAS: now define inline words 2010-07-28 03:05:14 -04:00
Joe Groff db8b6baa2f typo in alien.parser test 2010-02-23 11:59:53 -08: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 7decccf8bb Merge branch 'master' of git://factorcode.org/git/factor 2010-02-23 20:26:41 +13:00
Erik Charlebois 124982ce23 Fix CALLBACK: effect return type also not a string. Added accompanying unit test. 2010-02-22 10:48:21 -08:00
Joe Groff 338edac16c Merge branch 'master' of git://factorcode.org/git/factor into new-alien-pointers 2010-02-21 23:14:08 -08:00
Joe Groff 5955ba06df use a "pointer" wrapper tuple to indicate pointer types instead of the current slipshod approach 2010-02-21 16:27:36 -08:00
Erik Charlebois 536ae3c648 Unit test checking the stack effects from FUNCTION:. 2010-02-20 21:15:47 -08:00
Joe Groff a37bc4828f change parse-c-type so that c-type[symbolic-constant] parses to { c-type symbolic-constant } 2009-10-16 12:27:16 -05:00
Slava Pestov 18d4f030cd alien.parser: fix behavior with restarts, reported by mnestic 2009-10-09 04:25:25 -05:00
Slava Pestov 7ee8144259 alien.parser: fix unit tests 2009-09-28 05:42:41 -05:00
Joe Groff c3935b823f oops, jumped the gun on one of the alien.parser tests there 2009-09-27 12:10:50 -05:00
Joe Groff 2bc687f0de add some tests for parse-c-type 2009-09-27 12:03:23 -05:00