Commit Graph

29 Commits (master)

Author SHA1 Message Date
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
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 f465a013d7 Speed up best-hands a bit using reduce and add a test 2009-05-07 21:23:58 -04:00
Aaron Schaefer 246fb6672e Minor logical rearrangement 2009-05-07 16:54:49 -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 7c898bd553 Eliminate redundant unique5 lookup for poker hands 2009-04-08 12:30:11 -04:00
Aaron Schaefer c101d389e3 Add documentation for poker vocab 2009-04-07 18:34:20 -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