Commit Graph

42 Commits (cbdd559a759b5aef9b1c97d8b69a29e159d14ae1)

Author SHA1 Message Date
John Benediktsson 4a144e5ea7 more test IN: cleanup. 2018-02-15 08:45:08 -08:00
Alexander Iljin 2fd5654473 Add EOL at EOF for all authors.txt files for consistency
In some instances replaced CR/LF with LF.
2016-07-30 09:25:30 -07:00
John Benediktsson 4945269664 poker: simplify a bit. 2016-04-14 14:07:37 -07:00
John Benediktsson 59caf874a3 syntax: removing #! as a comment character.
We don't need two types of comments and shebang (#!) is handled
natively by the lexer, so the original reason for #! is not valid.
2015-09-09 18:28:08 -07:00
John Benediktsson e477f6996f Fix comments to be ! not #!. 2015-09-08 16:15:10 -07:00
John Benediktsson ceb75057da change ERROR: words from throw-foo back to foo. 2015-08-13 16:13:05 -07:00
Doug Coleman 66147f27b4 extra: use throw-foo for ERROR: change 2015-08-13 01:56:32 -07:00
Doug Coleman 330c7ba156 factor: Removing SLOT: nth/at/global in favor of using change: at for tuple slots named ``at`` and change-at for hashtables.
Redo many FROM: and QUALIFIED: and using lists.
2015-08-12 08:49:02 -05:00
Doug Coleman 1fcf96cada factor: remove """ string syntax for now. there are HEREDOC:, STRING:, escaping \", and something else soon. 2015-07-25 22:59:56 -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
John Benediktsson b29d3a0f4a poker: use map-product from sequences.extras. 2013-04-10 09:25:09 -07:00
Joe Groff 943596575a use radix literals 2011-11-23 19:03:40 -08:00
John Benediktsson d61de12011 Cleanup more lint warnings. 2011-10-14 12:31:46 -07:00
Joe Groff 2bd6de9a02 slots: pre-create the "at", "nth", and "global" slots to make deterministic the currently nondeterministic ambiguity between accessors:change-* and assocs:change-at, sequences:change-nth, and namespaces:change-global 2011-09-19 10:03:43 -07:00
Joe Groff 9bf5c76771 lexer: add "each-token" and "map-tokens", which are equivalent to "parse-token _ each/map" but incremental. update a smattering of parsing words (such as USING:, SYMBOLS:, etc.) to use each-token/map-tokens 2010-02-28 22:19:43 -08:00
Aaron Schaefer 41afc11cca minor poker vocab cleanup 2010-02-20 13:15:46 -06:00
Doug Coleman 5c9ce929c7 fix unit test 2009-12-08 17:05:11 -06:00
Doug Coleman 0d75418048 randomize poker decks in <deck> word 2009-12-07 19:28:11 -06:00
Doug Coleman 57264bb0e1 make >ckf generic in poker 2009-11-28 19:12:45 -06:00
Doug Coleman 5cec6f15ca messin with the poker vocabulary -- added 7-card evaluator (using 5 card eval) and an omaha hi evaluator 2009-11-28 18:11:42 -06:00
Doug Coleman cdc1f1e041 add product-map-as and use it in poker vocab 2009-11-25 23:18:18 -06:00
Aaron Schaefer 58fdffee87 Make lookup indices zero-based for poker values 2009-05-08 02:24:12 -04:00
Aaron Schaefer 3a636d67c4 Fix typo in poker test/doc example 2009-05-07 23:11:44 -04:00
Aaron Schaefer f465a013d7 Speed up best-hands a bit using reduce and add a test 2009-05-07 21:23:58 -04:00
Aaron Schaefer d9e4f6e9cb Update docs/summary for poker vocab 2009-05-07 18:50:46 -04:00
Aaron Schaefer 246fb6672e Minor logical rearrangement 2009-05-07 16:54:49 -04:00
Aaron Schaefer 766eb8b47e Add docs for best-hand in poker vocab 2009-05-07 11:20:01 -04:00
Aaron Schaefer 0878006bd0 Speed up best-hand by not converting to ckf repeatedly 2009-05-07 10:29:44 -04:00
Aaron Schaefer e2c73b543a Add >5 card evaluator word to poker vocab 2009-05-07 10:19:23 -04:00
Aaron Schaefer 5e4e1ee48f Make a deck of cards an actual tuple 2009-05-06 21:44:25 -04:00
Aaron Schaefer 17fa5ac5f1 Add deck generation and shuffling to poker vocab 2009-05-02 02:06:52 -04:00
Aaron Schaefer a97a2d7c59 Merge branch 'master' of git://factorcode.org/git/factor 2009-04-13 18:39:11 -04:00
Aaron Schaefer 7c898bd553 Eliminate redundant unique5 lookup for poker hands 2009-04-08 12:30:11 -04:00
Slava Pestov d3b5236367 Fix poker tests 2009-04-08 05:04:58 -05:00
Aaron Schaefer c101d389e3 Add documentation for poker vocab 2009-04-07 18:34:20 -04:00
Aaron Schaefer 8201139dc7 One more poker unit test dealing with equality 2009-04-06 00:30:21 -04:00
Aaron Schaefer cbc63b4969 Add more unit test coverage for poker vocab 2009-04-05 23:28:13 -04:00
Aaron Schaefer fda3f6d3f0 Add perfect hash optimization for poker vocab 2009-04-05 21:16:57 -04:00
Aaron Schaefer 469c3c05ec Speed up map product in poker vocab 2009-04-05 15:32:36 -04:00
Aaron Schaefer aa7e03d013 Add poker hand evaluation vocab 2009-04-05 00:04:31 -04:00