Slava Pestov
6b5e40b2fc
functors: support private words with DEFINES-PRIVATE; use this to make some words generated by math.vectors.simd.functor private
2009-09-04 01:21:59 -05:00
Joe Groff
7276fe44d7
refactor functors so that new functor syntax words can be added outside of functors vocab, and move STRUCT: functor syntax to classes.struct to break a circular dependency
2009-08-29 21:04:19 -05:00
Joe Groff
2e3f75fd87
fix STRUCT: functor when a slot name is the same as a non-lexical word name
2009-08-29 20:19:47 -05:00
Joe Groff
4cc2330a2a
add STRUCT: support to functors
2009-08-29 19:56:42 -05:00
Doug Coleman
3f3d57032b
Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places, minor refactoring
2009-08-13 19:21:44 -05:00
Sam Anklesaria
cc38d1ada6
Merge branch 'master' of git://factorcode.org/git/factor
...
Conflicts:
basis/functors/functors.factor
basis/io/launcher/launcher.factor
basis/ui/gadgets/tables/tables.factor
2009-07-22 10:02:09 -05:00
Slava Pestov
dce020ca71
functors: add MIXIN:, SINGLETON:
2009-07-22 02:06:24 -05:00
Slava Pestov
c171527b8d
Add vectors.functor for generating vector types from arrays; re-implement bit-vectors and specialized-vectors using this. Add DEFERS directive to functors
2009-07-07 14:34:08 -05:00
Sam Anklesaria
a6f65a483b
Merge branch 'master' of git://factorcode.org/git/factor
2009-06-26 15:52:48 -05:00
Slava Pestov
37b01357ec
Remove unused words discovered by Samuel Tardieu
2009-06-16 16:38:39 -05:00
Sam Anklesaria
3b10d4d86e
Merge branch 'master' of git://factorcode.org/git/factor
...
Conflicts:
basis/ui/gadgets/tables/tables.factor
core/vocabs/parser/parser.factor
2009-05-24 18:57:22 -05:00
Sam Anklesaria
27b745dcc8
modulization of ui.frp
2009-05-24 09:36:24 -05:00
Slava Pestov
b31fe9b8f2
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
Joe Groff
65b33c145c
GENERIC: support in functors
2009-05-01 16:16:40 -05:00
Joe Groff
a2c7074a6b
Merge branch 'master' of git://factorcode.org/git/factor
2009-04-27 14:02:24 -05:00
Joe Groff
49771779c1
symbols in functors
2009-04-27 14:02:14 -05:00
Slava Pestov
58cba832a0
functors: add support for call-next-method
2009-04-26 21:22:20 -05:00
Slava Pestov
05f3f9dcb9
Fixing unit tests for stack effect inference changes
2009-04-20 21:15:19 -05:00
Slava Pestov
e0d48e3ab6
New utility word: complete-effect
2009-03-22 17:59:40 -05:00
Slava Pestov
c0154c1391
Change (:) to parse effect immediately, and remove ( parsing word
2009-03-21 03:17:35 -05:00
Slava Pestov
ea60f8ae93
Changing : foo ; parsing to SYNTAX: foo ;
2009-03-21 01:27:50 -05:00
Slava Pestov
786475102d
Make more code infer
2009-03-17 02:19:50 -05:00
Slava Pestov
e4a0396550
Add parse-quotation hook to parser which locals overrides. '[ and [ use this hook. Fixes locals bug reported by erg
2009-03-06 19:48:04 -06:00
Slava Pestov
1951d739a0
Stack effect declarations are mandatory on all words now
...
define-temp now takes an effect parameter
Fix compiler bug that Dan found
Stricter enforcement of * effects
Move compile-call from compiler.units to compiler
2009-02-23 20:27:05 -06:00
Slava Pestov
4adef7db09
Fix functors bug where changing a hand-written method into one generated by a functor would forget the method; also associate functor-generated methods with the source file they're in.
...
Add DEFINES-CLASS, to parallel DEFINES.
Update math.blas and specialized-arrays/vectors to use DEFINES-CLASS where appropriate
2009-02-06 02:45:21 -06:00
Slava Pestov
4de41f94e9
Fixing wrappers with locals
2009-01-28 17:07:31 -06:00
Slava Pestov
16181f818b
Clean up functors so that the generated code looks sane with 'see'
2009-01-28 15:07:16 -06:00
Slava Pestov
c5160d76e9
Merge qualified, alias, symbols, constants into core
2008-12-17 18:10:01 -06:00
Slava Pestov
3ed7a56a7f
Fix functors for locals changes
2008-12-09 01:42:02 -06:00
Slava Pestov
7940020491
Untangling more dependencies
2008-12-08 16:02:31 -06:00
Joe Groff
f990647d67
Renovate math.blas.vectors to build off of functors and specialized-arrays. Add complex and complex-components sequence wrappers. Fix small bug in functors
2008-12-04 13:40:55 -08:00
Slava Pestov
f683a76a5e
Functor application records location info in generated words
2008-12-02 21:49:51 -06:00
Slava Pestov
25bdb4172a
Functor-generated words can now have stack effect declarations; define byte-array>*-array words
2008-12-02 20:35:20 -06:00
Slava Pestov
402da00390
Fixing bootstrap with specialized arrays
2008-12-02 02:44:19 -06:00
Slava Pestov
2fe364a7bb
Specialized arrays work in progress
2008-11-14 20:18:16 -06:00