Commit Graph

11647 Commits (21cb42edf3d91a4be40af5c79cfc1d53e3a0abff)

Author SHA1 Message Date
John Benediktsson 8d58f60bf9 sequences.extras: adding 3each-from and 3map-reduce. 2017-10-24 17:25:26 -07:00
John Benediktsson aa5623eede math: using ``v.`` instead of ``v* sum`` in a few places. 2017-10-24 12:26:39 -07:00
John Benediktsson 37902e3903 math.similarity: add another test for pearson-similarity. 2017-10-24 11:46:44 -07:00
John Benediktsson ee1bfc7fc2 math.similarity: change cosine-similarity to match math formula.
Specifically, instead of returning values [0,1], we now return [-1,1]:

* −1 meaning exactly opposite
* 1 meaning exactly the same
* 0 indicating orthogonality (decorrelation)
* in-between values indicating intermediate similarity or dissimilarity.
2017-10-24 11:45:03 -07:00
John Benediktsson 048de72d6f color-table: change color table to use search-tables. 2017-10-24 10:07:33 -07:00
John Benediktsson d8ad5b25bd unicode.control-pictures: adding a test. 2017-10-23 16:48:25 -07:00
John Benediktsson 1006b4afc4 help.markup: allow $url to have display text that's not just the url. 2017-10-23 16:44:59 -07:00
Pi 702f0686b1 Improve documentation by linking to Unicode charts for the relevant blocks 2017-10-23 16:35:09 -07:00
Pi 949b391f02 add unicode control-picturizer and docs 2017-10-23 16:34:58 -07:00
Alexander Iljin 4b1e2b8af8 slides: fix illegible code snippets on Windows
The transparency is not handled on Windows at the moment, and the text
background was too dark. This lead to code snippets being completely
consisting of a series of dark and light squares instead of text glyphs.
2017-10-09 11:23:42 +03:00
Alexander Iljin 0f068423d1 talks.galois-talk: fix a mistake on a slide 2017-10-09 11:23:38 +03:00
Alexander Iljin 9a801c3cfe talks.[otug|minneapolis]-talk: add the <iota> constructor to numbers 2017-10-09 11:23:31 +03:00
Alexander Iljin 69f6844fea talks.tc-lisp-talk: fix $snippet "f" 2017-10-09 11:23:26 +03:00
Alexander Iljin 867e9c2b49 talks.otug-talk: replace <bevel-button> with <border-button> 2017-10-09 11:23:12 +03:00
Alexander Iljin dc36bb5311 talks: replace "test-mr mr." with "regs." 2017-10-09 11:21:58 +03:00
Alexander Iljin e60b5004b7 talks: fix the printf examples
Reverse the order of parameters.
2017-10-09 11:21:51 +03:00
John Benediktsson ab55560fed grouping.extras: add <n-groups> and n-group. 2017-09-18 14:51:58 -07:00
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 5a0bc9621d git: use with-test-directory. 2017-09-04 19:45:25 -07:00
Doug Coleman 081b642dee bootstrap.image.upload: Upload images per-branch. 2017-08-31 21:06:17 -05:00
Doug Coleman a372224e9b git: Add repo that can do some git things in native Factor. 2017-08-31 20:44:24 -05:00
Doug Coleman 12816f4d4e cuda: Allow memory to report as >4gb. 2017-08-25 19:53:13 +00:00
Doug Coleman c9fd44502c slots.macros: Refactor {word-names}. 2017-08-20 11:36:32 -05:00
Doug Coleman bb756c8823 quadtrees: Remove creative stack effects and {names}. 2017-08-20 11:36:17 -05:00
Doug Coleman c7abd13d33 cli.git: Use number of threads not cpus. 2017-08-17 21:37:58 -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 48fc7831e2 web-services.github: Fix the IN:. 2017-08-08 16:09:52 -05:00
Doug Coleman fad9e9d002 peg.ebnf: Add EBNF-PARSER: to define a word that returns an EBNF parser
This is in contrast to defining a word that parser.
2017-08-06 00:17:25 -05:00
Doug Coleman 42ceea05cb gml.parser: Use multiline. 2017-08-05 22:48:28 -05: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
Doug Coleman 27b3c4cccf functors: FUNCTOR: ;FUNCTOR -> <FUNCTOR: ;FUNCTOR>
Functors contain nested definitions, much like <PRIVATE PRIVATE> blocks.
A new parser will be able to parse nested definitions unambigiously without
knowledge of the definition of <FUNCTOR: itself, which is not the case if
it looks like FUNCTOR: instead.
2017-08-05 20:41:19 -05:00
Doug Coleman 21e42a5d3b extra: Add cli.git and github.sync.
cli.git is a command-line git wrapper.
github.sync is a way to sync an organization to local disk.
2017-08-05 20:40:57 -05:00
Doug Coleman bfd830f6b4 machine-learning.functions: Add selu 2017-07-30 11:40:25 -05:00
Doug Coleman dabc4c3d49 machine-learning.functions: Add softmax, softmin, relu, etc.
Add some unit-tests.
2017-07-22 18:49:39 -05:00
Doug Coleman 22c20bd887 arrays.shaped: A bit of work on arrays.shaped. 2017-07-22 18:49:04 -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
Björn Lindqvist 8675cb2c25 basis/,core/,extra/: more tags 2017-07-08 18:31:39 +02:00
Björn Lindqvist 71b92c4e28 FUEL: breadcrumb system on vocabs/tag and vocabs/author pages 2017-07-07 15:26:03 +02:00
Björn Lindqvist ba9a1ca5ef basic/, extra/: even more tags 2017-07-07 01:45:13 +02:00
Björn Lindqvist 1ca8276df4 basis/,core/,extra/: many new tags 2017-07-06 23:04:18 +02:00
John Benediktsson d78972e045 hash-sets/hashtables: remove wrapped-key, use slot-types for errors. 2017-07-06 11:25:11 -07:00
John Benediktsson 1eff2b3dbc hashtables/hash-sets: add some error checking...
...to the sequence/number wrapped versions.
2017-07-05 18:41:45 -07:00
Björn Lindqvist 72807720f2 basis/,extra/: lots of new tags.txt files 2017-07-05 01:50:39 +02:00
Björn Lindqvist 2ffb7a2669 fuel.help: breadcrumbs in article pages too 2017-07-04 17:05:46 +02:00
Björn Lindqvist 1265bb3b5c FUEL: cool breadcrumb navigation for help pages 2017-07-04 15:23:04 +02:00
Björn Lindqvist 7c22d09f47 irc.*: removing more EXCLUDE: (#1839) 2017-07-04 12:02:24 +02:00
Doug Coleman 8d50573efd roms.lunar-rescue: Fix docs link. 2017-07-03 21:01:47 -07:00
Björn Lindqvist 88605022d0 space-invaders,lunar-rescue,balloon-bomber: let's move these into a common hierarchy 2017-07-04 03:29:14 +02:00
Björn Lindqvist 439e01713b balloon-bomber,lunar-rescue,space-invaders: fixing links in docs and comments 2017-07-04 03:29:14 +02:00
Björn Lindqvist 06e8399049 windows.fullscreen: fix IN: declaration 2017-07-04 03:29:14 +02:00
Doug Coleman 01aab7c884 Factor: Rename <enum> to <enumerated> to not confuse with ENUM:s 2017-07-03 12:47:19 -07:00
Björn Lindqvist 974f1aa505 ldcache: fixing article title 2017-07-03 18:48:39 +02:00
Björn Lindqvist 3735d63d6f ldcache: new vocab for reading and parsing the /etc/ld.so.cache file 2017-07-03 00:47:40 +02:00
Björn Lindqvist 94cd8f89f9 number-game: need to flush the output 2017-07-03 00:13:06 +02:00
Björn Lindqvist c294170321 fullscreen: looks like the vocab belongs in the windows hierarchy 2017-07-02 23:47:40 +02:00
Björn Lindqvist 522eb559e4 ui.tools: setting the initial tool dim as a multiple of the default font 2017-06-30 22:47:11 +02:00
John Benediktsson dcb0cc8da7 Revert "compiler.cfg.gvn.avail: use ?infimum"
This reverts commit e6ce2eb455.
2017-06-27 10:03:41 -07:00
Alexander Iljin e6ce2eb455 compiler.cfg.gvn.avail: use ?infimum 2017-06-27 00:39:53 +02:00
Björn Lindqvist eb62e1fe4e fuel.help: fix for a small help bug on vocabs without words in them 2017-06-26 15:53:54 +02:00
Björn Lindqvist 08354f638f fuel.eval: fixing the manifest gunk more
Some FUEL features doesn't ship a correct usings list so you need to use
the current manifests vocabs.
2017-06-26 05:44:51 +02:00
Björn Lindqvist 963d9da525 fuel.eval: refactoring to remove the globals eval-error and eval-output 2017-06-26 05:44:51 +02:00
Björn Lindqvist e020369b13 fuel.eval: better manifest handling in eval-in-context 2017-06-26 05:44:51 +02:00
Alexander Iljin fff7bc72a4 sequences.extras: add ?supremum and ?infimum 2017-06-25 16:26:45 -07:00
Björn Lindqvist e66b1a594a file-picker.linux: fixing open-file-dialog and save-file-dialog
I had to use utf8 string>alien over utf8 encode because the latter
doesnt null-terminate the string.
2017-06-24 23:49:07 +02:00
Björn Lindqvist f2a8a79a1a basis/,extra/: removing some unnecessary EXCLUDE declarations 2017-06-24 16:38:34 +02:00
Doug Coleman f086b54067 odbc: Minor style fixes and add an error function. 2017-06-08 21:05:03 -05:00
Jon Harper 80e9d7c115 move math.extras:round-to-even to math.functions to use in basis:formatting
Also add round-to-odd in case it is needed.
Also change float rounding to be independent of the current rounding mode
2017-06-08 11:23:37 -07:00
Alexander Iljin 2ffa446f5b *-docs: replace double spaces with single spaces
Code examples and other places where multiple spaces were used to align
text were left intact.
2017-06-05 13:16:07 -07:00
Doug Coleman b3ba829601 cuda.devices: Utility word to print all cuda devices. 2017-06-03 20:59:51 -05:00
Doug Coleman 48344ab55c factor: last iota -> <iota> fix. 2017-06-02 17:39:40 -05:00
Doug Coleman 32710df620 core/basis: Rename tuples kernel:curry -> curried, kernel:compose -> composed.
Also rename the stack-checker curried -> curried-effect, composed -> composed-effect.
2017-06-02 17:39:20 -05:00
Doug Coleman 195630f637 iota: Fix second iota -> <iota> in line several times. 2017-06-02 15:41:51 -05:00
Doug Coleman e189954ecc core: Rename iota to <iota> so we can have TUPLE: iota ... ; instead of TUPLE: iota-tuple ... ; 2017-06-02 11:57:05 -05:00
Doug Coleman f7ce73b962 gml.runtime: Don't let gml double up on class/word names.
Related to #358.
2017-06-01 15:47:49 -05:00
Doug Coleman c5b563ed09 factor: Rename start -> subseq-start, start* -> subseq-start-from.
I also removed aliases for start/end from interval-maps and interval-sets and added a comment. I don't think it's any less clear what's going on.
2017-06-01 14:45:54 -05:00
Doug Coleman 7c7bb93c55 factor: Rename GENERIC# to GENERIC#:.
Fixes #1670.
2017-06-01 13:58:58 -05:00
Alexander Iljin 5b1198e20c file-picker.operations: fix invalid parameter order in save-as 2017-05-29 09:57:06 -07:00
John Benediktsson c8e02d880e file-picker.operations: use set-file-contents. 2017-05-29 08:07:12 -07:00
Alexander Iljin b000f124a0 file-picker*: add copyright and licence headers, and authors.txt files 2017-05-29 08:05:59 -07:00
Alexander Iljin 0464e6f84b file-picker.operations: new vocab with save-as operation for byte-arrays 2017-05-29 08:05:59 -07:00
Alexander Iljin 4ceb098907 file-picker: implement save-file-dialog on windows 2017-05-29 08:05:59 -07:00
Sankaranarayanan Viswanathan c1d6477c22 slides: map 'b' key to previous slide (like unix less) 2017-05-06 11:17:34 -07:00
John Benediktsson 9e62a13185 graphviz.notation: fix $example to compile properly. 2017-05-05 12:17:31 -07:00
Alexander Iljin 717a49c365 ui.gadgets.charts.lines: add a division by zero test for calc-line-slope 2017-04-17 13:54:51 -07:00
Alexander Iljin 07f35d95ac ui.gadgets.charts.axes: replace boolean property with subclasses
The vertical? property of the axis tuple was replaced with two subclasses:
vertical-axis and horizontal-axis.
2017-04-17 13:54:51 -07:00
Alexander Iljin c91d7dbcb9 ui.gadgets.charts.lines: make black the default line color
Prevent crash if the color slot is empty.
2017-04-17 13:54:51 -07:00
Alexander Iljin 90a7ce9120 ui.gadgets.charts.utils: move some common code to the new vocab 2017-04-17 13:54:51 -07:00
Alexander Iljin 90087cebc1 ui.gadgets.charts.[axes|demos]: add simple axis drawing 2017-04-17 13:54:51 -07:00
Alexander Iljin dd3fcfdadf ui.gadgets.charts.axes: initial import 2017-04-17 13:54:51 -07:00
Alexander Iljin a050823f29 Move charts* to ui.gadgets.charts* in the resource:extra root 2017-04-17 13:54:51 -07:00
Samuel Tardieu 30f73d63f4 Add French number>text support for ratios 2017-03-23 12:11:05 +01:00
Samuel Tardieu 5707acdaf0 Apply 1990 French orthographic reform for writing numbers 2017-03-23 11:32:52 +01:00
Alexander Iljin 692f49d92e rosetta-code.gnome-sort: add some tests 2017-03-18 16:44:14 -07:00
Alexander Iljin ea50cc77a0 rosetta-code.gnome-sort: add vocab 2017-03-18 15:08:56 -07:00
John Benediktsson 9c7655d286 infix: adding support for constants and ( -- x ) words.
Also speed up subseq steps with negative steps.
2017-03-18 13:27:33 -07:00
John Benediktsson 2e43bc6b90 infix: add support for string literals.
Rename ast-number to ast-value (to represent any literal value).
2017-03-16 16:14:51 -07:00
John Benediktsson 8e87696719 infix: don't shadow ``t`` even though we can. 2017-03-16 15:50:58 -07:00
John Benediktsson aa05fca37f infix: add a test for nested local scopes. 2017-03-16 15:49:07 -07:00
John Benediktsson 2b23d75544 infix: fix to allow nested local scopes. 2017-03-16 15:36:07 -07:00
John Benediktsson c6a00bfdfe id3: fix for find-files-by-extension rename. 2017-03-05 13:47:19 -08:00
John Benediktsson 9e4b0c10ae lru-cache: fix M\ lru-cache clone. 2017-03-02 18:41:24 -08:00
John Benediktsson faf0158ad0 lru-cache: adding a Least Recently Used (LRU) cache. 2017-03-02 16:12:01 -08:00
John Benediktsson 890be49074 combinators.extras: adding a variant to cond. 2017-02-21 14:51:30 -08:00
John Benediktsson d63c992d97 using when instead of [ ] if. 2017-02-09 16:29:14 -08:00
John Benediktsson 2e73914e85 rosetta-code.equilibrium-index: simplify. 2017-02-09 16:04:20 -08:00
John Benediktsson 3a6eefcc8e using ignore-errors instead of [ drop ] recover. 2017-02-09 15:50:33 -08:00
Jon Harper 7ed6379633 trees, attempt to keep shape during conersions 2017-02-08 10:37:02 -08:00
Jon Harper d800d026de trees, make pop/slurp work for all trees
It is not as optimized as it could be but it is a simple way
to ensure that the tree properties are maintained.
2017-02-08 10:37:02 -08:00
Jon Harper e0bd21e24a trees, cleanup privates 2017-02-08 10:37:02 -08:00
Jon Harper 8b136cdd6d trees, add pop/slurp operations 2017-02-08 10:37:02 -08:00
Jon Harper 45500b9137 trees, add navigation operations (lower-key etc.) 2017-02-08 10:37:02 -08:00
Jon Harper 3667844439 trees, add range operations (subtree>alist etc.) 2017-02-08 10:37:02 -08:00
Jon Harper c686b15939 trees, fix delete-at. Add testcase 2017-02-08 10:37:02 -08:00
Jon Harper 2ca301ec5e trees.splay, add test for assoc-size 2017-02-08 10:37:02 -08:00
Jon Harper 4442d922b0 trees.avl, implement assoc-size 2017-02-08 10:37:02 -08:00
Jon Harper d2cfbafa13 trees, implement assoc-size 2017-02-08 10:37:02 -08:00
Jon Harper 2bfeecda2b trees, add height 2017-02-08 10:37:02 -08:00
Jon Harper 29ebeb5a26 trees, change M\ tree clone to keep the shape of the tree
Without this, all base class and splay trees were becoming linked lists after cloning..
2017-02-08 10:37:02 -08:00
John Benediktsson 79a28e130e compiler.cfg.gvn.avail: fix using. 2017-02-08 09:30:31 -08:00
John Benediktsson f4ccfa0f71 sets: moving unique/conjoin/conjoin-at to compiler.utilities. 2017-02-07 18:54:24 -08:00
John Benediktsson ef3d271fb3 remove some uses of conjoin. 2017-02-07 15:14:20 -08:00
John Benediktsson d5aa8628e3 yaml: using ?adjoin. 2017-02-07 12:33:34 -08:00
John Benediktsson 0f1d08a372 using map-reduce instead of unclip reduce. 2017-02-07 12:16:12 -08:00
John Benediktsson c5150307f5 cgi: cleaner looking without parens. 2017-02-06 16:22:07 -08:00
John Benediktsson 915378019c assoc-heaps: simplify. 2017-02-06 11:19:43 -08:00
John Benediktsson 0dbcbd50f6 boyer-moore: simplify M\ sequence search-from. 2017-02-06 11:17:32 -08:00
John Benediktsson ca537d30b3 colors: adding some ABOUT: links. 2017-02-06 10:51:12 -08:00
John Benediktsson 0f7646e3ed pdf.wrap: make sure to calculate whitespace properly. 2017-02-02 09:14:10 -08:00
John Benediktsson b73876dfdd pdf.wrap: fix for wrap API change. 2017-02-02 08:08:22 -08:00
John Benediktsson ecdb8dfe62 extra: cleanup some example servers, allow port to be specified on command line. 2017-01-31 15:55:31 -08:00
John Benediktsson 369f5b6d13 sequences.extras: additional tests for take-while and drop-while. 2017-01-26 22:09:13 -08:00
John Benediktsson e462f85c66 sequences.extras: whoops, fix tests. 2017-01-26 12:07:33 -08:00
John Benediktsson a8a94c3960 sequences.extras: experimenting with take-while and drop-while. 2017-01-26 12:05:09 -08:00
John Benediktsson 9a34af7381 money: adding support for floats. 2017-01-25 16:44:25 -08:00
John Benediktsson e6b8837f2f changer: moving to extra for now. 2017-01-23 10:40:55 -08:00
John Benediktsson 81da68c906 google.gmail: fix to use set-query-params. 2017-01-23 10:06:16 -08:00
John Benediktsson 134be588cf no need to clone empty byte-array. 2017-01-22 15:41:07 -08:00
John Benediktsson f16a7830b1 pong: no need for multi-methods. 2017-01-22 15:10:42 -08:00
John Benediktsson 575aced0f7 processing.shapes: some cleanup. 2017-01-22 15:06:01 -08:00
John Benediktsson 3f2404a628 nurbs: cleanup. 2017-01-22 14:47:50 -08:00
John Benediktsson 33f2fbd099 oauth2: move set-query-params to urls. 2017-01-22 14:44:33 -08:00
John Benediktsson d1242003ba webapps.mason.backend.watchdog: simplify. 2017-01-22 14:44:20 -08:00