Commit Graph

11618 Commits (c3e137c08a43d5c6564819e93d427b813896b08b)

Author SHA1 Message Date
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
John Benediktsson 5993e2008e mason.report: adding stack effect. 2017-01-22 14:43:28 -08:00
John Benediktsson c4f39e32a5 tools.wc: adding "wc" tool. 2017-01-22 14:40:37 -08:00
John Benediktsson baaa06278c Revert "sequences: swap stack arguments for start/start*/subseq?."
This reverts commit 63b0593824.
2017-01-21 07:20:14 -08:00
John Benediktsson 63b0593824 sequences: swap stack arguments for start/start*/subseq?.
It is more natural to be ( seq subseq -- ? ).
2017-01-20 22:49:53 -08:00
Alexander Iljin d5b74bd776 splitting.extras-docs: mark -slice variants as related-words 2017-01-20 08:21:54 -08:00
Björn Lindqvist 78555afb9e fuel.help: value-str -> unparse-short 2017-01-10 12:36:46 +01:00
Björn Lindqvist 0884434c0f fuel: more word renamings, now only words called from elisp have the fuel- prefix 2017-01-10 12:36:46 +01:00
John Benediktsson 27e24cb0a8 balloon-bomber: fix window title typo. 2017-01-09 12:37:15 -08:00
Björn Lindqvist cd3adb671c fuel.eval.tests: fixing the test by wrapping it in a manifest 2017-01-08 13:41:43 +01:00
Björn Lindqvist c11c59876f fuel,fuel.eval: renaming fuel- prefix words 2017-01-08 13:18:50 +01:00
Björn Lindqvist 340ca944d4 fuel,fuel.help: refactoring of lots of word names
Better to use unprefixed words everywhere. When they clash with words
from the help system, fully qualified names can be used.
2017-01-08 13:18:17 +01:00
Björn Lindqvist a1f9fca4dc FUEL: ensuring that autodoc works for qualified word references (eg unix.ffi:accept) 2017-01-07 15:26:19 +01:00
John Benediktsson 20656f0db8 units.si: extras precision for ``u``. 2017-01-06 18:24:48 -08:00
Alexander Iljin e82ee2d723 pdf.values: treat color tuples uniformly 2017-01-05 12:48:50 -08:00
Alexander Iljin fa5f810b20 pdf.layout: use symbols for authorship 2017-01-05 12:48:50 -08:00
Jon Harper 1b6c568831 fixup 5af166b8f, shouldn't have removed these lines 2017-01-05 12:09:03 -08:00
John Benediktsson a2d5f8e9ad math.cardinality: relax the comparison so tests run more successfully. 2017-01-05 09:06:33 -08:00
Jon Harper ed653bf363 mason.report, remove <html><body> because this html report is embedded as is in another page 2017-01-05 09:03:46 -08:00
Jon Harper 5af166b8f5 add DOCTYPE html in most places.
4ef4235 started it. This is also good for html emails like in
extra/webapps/mason/backend/watchdog/watchdog.factor .

I just grepped for "<html>".
2017-01-05 09:03:46 -08:00
John Benediktsson a3abd46500 math.cardinality: adding summary.txt. 2017-01-04 14:22:30 -08:00
John Benediktsson 5376587fb3 math.cardinality: adding some tests. 2017-01-04 14:16:58 -08:00
John Benediktsson 740c258b66 tools.cal: use calendar.english. 2017-01-04 07:29:08 -08:00
Björn Lindqvist a66e79dd2d irc.logbot: more strftime 2017-01-04 09:46:17 +01:00
Björn Lindqvist 3bbc784fad calendar.parser,robots: hhmm>timestamp -> hhmm>duration
Better to parse it as a duration because it is not a valid timestamp.
2017-01-04 09:10:15 +01:00
Björn Lindqvist 2895d5e095 calendar.format: moving parsing words to a new vocab calendar.parser
The vocab was getting big so the idea is to have all the time parsing in
calendar.parsing and only keep formatting words in calendar.format.
2017-01-04 08:50:24 +01:00
Björn Lindqvist 40afb5268d hashcash: strftime 2017-01-04 08:11:01 +01:00
Björn Lindqvist 8b56ff1b89 tools.cal: using calendar.english 2017-01-04 08:11:01 +01:00
John Benediktsson bb275f2b2a tools.cal: minor formatting. 2017-01-03 19:12:43 -08:00
Björn Lindqvist f9b9ce20f2 calendar.english: new vocab for english names for days and months
This moves all the english-centric words from the calendar vocab which
was getting kind of big to calendar.english. It should make it easier to
see which vocabs make language assumptions.
2017-01-03 15:48:08 +01:00