1
0
mirror of https://github.com/catseye/SixtyPical.git synced 2024-09-29 23:56:02 +00:00
Commit Graph

77 Commits

Author SHA1 Message Date
Chris Pressey
fc8c85e670 word types, with syntax and analysis thereof 2016-06-16 11:08:57 -05:00
Chris Pressey
b5763e84b4 Constants (such as routines) cannot be given in call-constraints. 2015-10-22 20:01:02 +01:00
Chris Pressey
0361016e4c Bring the rest of the tests up to date with the new names. 2015-10-22 09:48:26 +01:00
Chris Pressey
cc433e9c64 Try to improve error messages, thus breaking many unit tests. 2015-10-21 19:43:44 +01:00
Chris Pressey
45310b8f9c It's getting a little chaotic. Needs better error messages! 2015-10-21 17:05:49 +01:00
Chris Pressey
bb6ad5d3cf Refactor Analyzer. Get analysis tests passing once again. 2015-10-21 15:45:14 +01:00
Chris Pressey
49d07cee5f Attempt to analyze goto. Looks like it'll need some rewriting. 2015-10-21 11:41:52 +01:00
Chris Pressey
b4e0756d7e Unbreak evaluator, but break compiler b/c change in parser. 2015-10-20 10:07:28 +01:00
Chris Pressey
2dc4dd988e Parse indirect calls, but break evaluator. 2015-10-20 09:33:30 +01:00
Chris Pressey
7d56705530 Check that the constraints on a routine match those of vector. 2015-10-19 19:17:27 +01:00
Chris Pressey
3010435add Inputs/outputs/trashes are now part of the type information only. 2015-10-19 18:44:20 +01:00
Chris Pressey
98524e931a Vector and routine types are constructors with constraints now. 2015-10-19 18:18:06 +01:00
Chris Pressey
645079f03a Implement 'with interrupts off'. 2015-10-18 23:15:40 +01:00
Chris Pressey
fd07f4bae9 More sophisticated static analysis: writeable, touched, meaningful. 2015-10-18 22:27:51 +01:00
Chris Pressey
8b30a232fa Analyze copy, but... we now need more sophisticated context. :/ 2015-10-18 20:16:14 +01:00
Chris Pressey
5a5953ca4c A little awkward, but analyze byte table access correctly. 2015-10-18 18:12:47 +01:00
Chris Pressey
e1cf162a5b Refs have types. 2015-10-18 17:23:01 +01:00
Chris Pressey
f7eb0d48a8 Spec, parse, evaluate, and analyze repeat blocks. 2015-10-18 13:37:35 +01:00
Chris Pressey
070ffacf69 Don't generate code for empty else blocks. 2015-10-17 18:25:54 +01:00
Chris Pressey
2ffff3bbdb Make extern routines survive analysis. 2015-10-17 14:54:28 +01:00
Chris Pressey
22c58ba556 Improve evaluator internals. Finish test suite for analysis. 2015-10-16 19:32:18 +01:00
Chris Pressey
c3a0659058 Write sufficient tests (I think) for analysis of ifs. 2015-10-16 14:01:45 +01:00
Chris Pressey
d22edc52a9 Allow if analysis to pass (needs more tests.) Better styling. 2015-10-16 13:06:18 +01:00
Chris Pressey
9c201ccf07 Fix links in README. Implement Context.clone(). 2015-10-16 10:54:12 +01:00
Chris Pressey
dd4c50fc50 Refactor to replace some sketchy code with code actually in use.
--HG--
rename : src/sixtypical/objects.py => src/sixtypical/model.py
2015-10-16 10:40:38 +01:00
Chris Pressey
6192a6a7f8 Add specific error for uninit outputs. Sketch if analysis. 2015-10-16 09:38:38 +01:00
Chris Pressey
f92056d640 REBOOT the entire language & implementation as version 0.2-PRE. 2015-10-16 09:30:24 +01:00