Commit Graph

  • 0db4cf7f7a imported kevin's three token-parser choices into core.clj Richard Harrington 2013-07-16 11:20:26 -04:00
  • 4d368578cb separated out the comment-stripping step completely from the lexing step Richard Harrington 2013-07-14 23:01:37 -04:00
  • b5c392114a refactored re-seq-with-pos ONE MORE TIME Richard Harrington 2013-07-14 21:45:36 -04:00
  • 1aedb1ee29 refactored re-seq-with-pos AGAIN Richard Harrington 2013-07-14 16:59:43 -04:00
  • 9e391344da refactored re-seq-with-pos to be more elegant, possibly slightly slower Richard Harrington 2013-07-13 15:35:56 -04:00
  • 3b03274c2e added back stripping of comments which had been lost when switching to regex Richard Harrington 2013-07-13 13:29:36 -04:00
  • b0c4f798ec refactored re-find to re-matches for whole words Richard Harrington 2013-07-13 13:10:43 -04:00
  • 90152aa425 minor refactoring of adding operators to set of commands Richard Harrington 2013-07-13 13:06:48 -04:00
  • 0ca4fac91c Merge branch 'lex-re' Richard Harrington 2013-07-13 13:00:56 -04:00
  • 0df38b12b8 finished converting the lexer to regexp, eliminating need for core.match Richard Harrington 2013-07-13 13:00:38 -04:00
  • f2dce5fe2a Revert "incredibly minor whitespace issue" -- this was a mistake Richard Harrington 2013-07-13 12:22:03 -04:00
  • 5cbda73aba halfway towards converted the lexer to just use regular expressions Richard Harrington 2013-07-13 12:17:09 -04:00
  • cdfb630712 incredibly minor whitespace issue Richard Harrington 2013-07-13 12:16:25 -04:00
  • 0d8cb73924 imported clojure.string/split and join Richard Harrington 2013-07-13 12:16:02 -04:00
  • 7337fa36cd wrote new tests for multi-token parsing Richard Harrington 2013-07-13 11:26:42 -04:00
  • 05459307c7 changed return value of parser's error helper function to actual error message Richard Harrington 2013-07-13 10:59:13 -04:00
  • aae1c0b8c1 got parsing of lexed programs working Richard Harrington 2013-07-13 02:46:56 -04:00
  • 4469725e6c wrote tests for parse-token and its helper functions Richard Harrington 2013-07-13 00:10:33 -04:00
  • 76ada03ca4 wrote parse-token function to parse a single lexed token Richard Harrington 2013-07-12 23:49:26 -04:00
  • 08f6950203 changed name of lexing token key from token to token-str Richard Harrington 2013-07-12 23:47:58 -04:00
  • cd7a707b6a added list of commands data structure, for parser Richard Harrington 2013-07-12 17:42:01 -04:00
  • 1d703dd693 refactored to destructure head and tail in lexer Richard Harrington 2013-07-12 17:41:31 -04:00
  • 8e98cbfe63 got rid of old commented-out code Richard Harrington 2013-07-12 17:40:36 -04:00
  • b0fe08bd80 got rid of extraneous digit? function Richard Harrington 2013-07-12 17:38:56 -04:00
  • 907d4d36d4 removed ability to distinguish between unary and binary '-' operators in lexing function Richard Harrington 2013-07-11 15:25:38 -04:00
  • ee84ffedbf added support for multi-line lexing Richard Harrington 2013-07-11 15:05:38 -04:00
  • 757210e3c2 changed :column to :pos in metadata Richard Harrington 2013-07-11 14:58:02 -04:00
  • b8f1af4acf added original robotwar manual from internet Richard Harrington 2013-07-11 14:54:14 -04:00
  • 7b326c33f5 added tests for lex function Richard Harrington 2013-07-08 17:27:03 -04:00
  • 76ad864291 edited .gitignore file to exclude .swp and .DS_Store files Richard Harrington 2013-07-08 17:26:40 -04:00
  • 08827cf2ca fixed bug in binary operator parsing Richard Harrington 2013-07-06 03:12:29 -04:00
  • 244984ab8f got column numbers working in lexer Richard Harrington 2013-07-06 02:58:31 -04:00
  • 63d396cf80 changed partial token in lexer back from string to vector, until it is closed Richard Harrington 2013-07-06 02:27:13 -04:00
  • a554b68c93 got repl working again Richard Harrington 2013-07-05 19:31:03 -04:00
  • e80adafcc0 got version of lex working with core.match Richard Harrington 2013-07-05 19:30:45 -04:00
  • 03a961aac6 halfway towards converting to core.match Richard Harrington 2013-07-05 17:58:35 -04:00
  • 896ee4cc52 lexing working, except it has incorrect column numbers Richard Harrington 2013-07-04 13:55:46 -04:00
  • d9f03a10fe very close to getting lexer working Richard Harrington 2013-07-04 02:47:06 -04:00
  • 2c57527919 got more cases working in lexer, still not done... Richard Harrington 2013-07-04 01:15:44 -04:00
  • 87dfd37cc6 fixed bug in lexing operators -- still more bugs in lexer to fix Richard Harrington 2013-07-03 22:14:41 -04:00
  • f06ae14164 got prettyprinting working Richard Harrington 2013-07-03 14:01:44 -04:00
  • 857e1d3d0f got initial lexer almost working Richard Harrington 2013-07-02 17:28:12 -04:00
  • 66172d0b28 removed extraneous stuff added by leiningen Richard Harrington 2013-07-02 15:39:08 -04:00
  • bf6e04177b added a non-default README Richard Harrington 2013-07-02 11:00:59 -04:00
  • e9709abf39 first commit Richard Harrington 2013-06-26 15:59:01 -04:00