Commit Graph

2343 Commits

Author SHA1 Message Date
Adam Sampson
f1c17bea50 More arrays work -- now producing a reasonable-looking commstime 2007-04-12 02:30:26 +00:00
Adam Sampson
2e9a7e8bd6 Do away with the channel/variable distinction 2007-04-11 19:41:42 +00:00
Adam Sampson
74efa43389 Work towards getting arrays working -- needs a cleanup, though 2007-04-11 17:08:16 +00:00
Adam Sampson
e6cf94c60e Type cleanups 2007-04-11 13:02:54 +00:00
Adam Sampson
5cf4683cb0 Add header file 2007-04-11 12:55:48 +00:00
Adam Sampson
6085cae11f Use AbbrevMode to track whether things are abbreviated, and thus generate C 2007-04-10 22:12:53 +00:00
Adam Sampson
8d3f8153eb Nicer nonce naming; generate PAR 2007-04-10 20:13:09 +00:00
Adam Sampson
8a1094e76a Nesting removal 2007-04-10 19:38:44 +00:00
Adam Sampson
41edc0008b Free name removal 2007-04-08 03:03:22 +00:00
Adam Sampson
f0e25bec2d Wrap PAR subprocesses, and add some Haddock 2007-04-07 16:08:31 +00:00
Adam Sampson
74b2d6d9b9 More work 2007-04-07 14:33:58 +00:00
Adam Sampson
77cef723ec AbbrevMode support 2007-04-07 11:57:12 +00:00
Adam Sampson
77555d1a48 More generation stuff -- as far as I can get without making changes elsewhere 2007-04-07 00:32:39 +00:00
Adam Sampson
572fa26ad7 A start at generating C++ code 2007-04-06 23:12:21 +00:00
Adam Sampson
222ba593c7 More early commit changes 2007-04-05 18:21:57 +00:00
Adam Sampson
fc1eee669c Commit earlier on ? CASE 2007-04-05 18:02:40 +00:00
Adam Sampson
667731f892 Fix the case output ambiguity 2007-04-05 17:37:45 +00:00
Adam Sampson
0bf57b0222 Tidier original name handling; slightly better errors 2007-04-05 11:21:32 +00:00
Adam Sampson
9fd0ea58a1 Do port output too 2007-04-05 01:21:16 +00:00
Adam Sampson
7c9036ac9b Track the types of all defined names properly 2007-04-05 01:14:14 +00:00
Adam Sampson
95af38e652 Handle whitespace better 2007-03-18 02:34:31 +00:00
Adam Sampson
4427333d2f Fix (and clean up) indentation parsing 2007-03-18 01:56:10 +00:00
Adam Sampson
4be72cbb24 Move indentation parsing out to its own module 2007-03-18 01:51:41 +00:00
Adam Sampson
5e8076cab5 Fix string parsing 2007-03-18 01:46:47 +00:00
Adam Sampson
69c1c04e84 Add function for testing parser productions 2007-03-18 01:46:31 +00:00
Adam Sampson
4005c6e31d Cleaner indentation parsing: put markers at end of line 2007-03-18 01:22:24 +00:00
Adam Sampson
88ea5303ff Tidy up error reporting (still based on error for now, though) 2007-03-18 00:48:02 +00:00
Adam Sampson
da7667de62 Kill extraneous brackets 2007-03-17 14:46:15 +00:00
Adam Sampson
e2f4fe1c45 Don't scope tag names for now, and fix "foo ! CASE foo" parsing 2007-03-17 14:37:24 +00:00
Adam Sampson
4c20041ff4 Add state while parsing, and track/map names 2007-03-16 01:28:46 +00:00
Adam Sampson
7f5d5e1891 Separate out the different types of name 2007-03-14 16:06:55 +00:00
Adam Sampson
704aabac17 Reorganise and add folds 2007-03-14 05:29:44 +00:00
Adam Sampson
5b7ee6f3a4 " ; " -> "; " 2007-03-14 04:44:39 +00:00
Adam Sampson
ed27a08b93 Rework to parse straight to AST, and clean up the AST a bit 2007-03-14 04:43:00 +00:00
Adam Sampson
c8c7935905 First stuff for fco2 -- copied from fco 2007-03-13 15:37:55 +00:00
Adam Sampson
6dbb86f610 Add tracing/references slides 2006-10-31 21:32:12 +00:00
Adam Sampson
af9271a48e Some nicer death code 2006-10-30 23:30:25 +00:00
Adam Sampson
181a084ab7 First draft of presentation 2006-10-30 23:30:10 +00:00
Adam Sampson
99d43e1fba Another note 2006-10-30 23:29:40 +00:00
Adam Sampson
f7114b6c84 Include metadata in the AST 2006-10-18 17:09:35 +00:00
Adam Sampson
996f64702a Unique naming working nicely 2006-10-18 14:36:31 +00:00
Adam Sampson
763f735a37 Unique naming sort-of working 2006-10-18 03:35:13 +00:00
Adam Sampson
a2cf9c0939 Add a clean rule 2006-10-17 21:57:24 +00:00
Adam Sampson
5cb2b2d248 Make Structured non-parametric, and experiment with a traversal strategy for scope tracking 2006-10-08 16:48:08 +00:00
Adam Sampson
d895b72a2b More writeup 2006-10-08 16:47:35 +00:00
Adam Sampson
04ce526824 Remove Test.hs -- it's all in the main code now 2006-10-07 11:26:19 +00:00
Adam Sampson
4a99213bb3 Add first version of writeup 2006-10-06 22:57:20 +00:00
Adam Sampson
7b6258184e Add basic C output support (not compilable yet!) 2006-10-06 01:17:58 +00:00
Adam Sampson
7d4e79e56b Move testcases into their own directory, and give them better names 2006-10-05 12:52:40 +00:00
Adam Sampson
ed54025468 Fix the a[b] ambiguity by tweaking the parser; also make AST Conversions include the type 2006-10-05 12:45:30 +00:00