Commit Graph

89 Commits

Author SHA1 Message Date
Bobbi Webber-Manners
92164c3274
v0.60: Array pass by reference works in compiler
- Evaluating 'naked' array name `A` gives pointer to payload (same as `&A` or even `&A[0]`)
- Improved loading message in VM
- Got array pass-by-reference to work in compiler
- Fixed eval stack leak in array initialization code generated by compiler
2018-05-03 19:53:40 -04:00
Bobbi Webber-Manners
456c7259d7
Added documentation for character constants. 2018-05-03 10:22:45 -04:00
Bobbi Webber-Manners
dc5ebf741c
v0.59: Added support for char literals 2018-05-03 10:18:17 -04:00
Bobbi Webber-Manners
d4810980a8
Updated - constant exprs are now OK for array dims 2018-05-03 01:17:43 -04:00
Bobbi Webber-Manners
ed032c11ea
v0.58: Allow constant exprs for array dimensions 2018-05-03 01:12:21 -04:00
Bobbi Webber-Manners
5a4fa67d1b
Added ATOR VM instruction. 2018-05-02 22:25:44 -04:00
Bobbi Webber-Manners
f22f303c80
Added documentation on mode statement 2018-05-02 20:30:07 -04:00
Bobbi Webber-Manners
7a91e0c0fb
v0.57: Added mode statement for Apple II 2018-05-02 20:27:27 -04:00
Bobbi Webber-Manners
17e49979c7
Fixed formatting typo 2018-05-02 18:55:59 -04:00
Bobbi Webber-Manners
ac0279cf91
Updated information on internals (memory mgmt) 2018-05-02 18:55:14 -04:00
Bobbi Webber-Manners
8417bfe448
Forgot this one too (v0.56) 2018-05-02 17:47:55 -04:00
Bobbi Webber-Manners
05a8d07665
Seems I forgot this one (v0.56 release) 2018-05-02 17:46:54 -04:00
Bobbi Webber-Manners
c026602f62
v0.56: Various minor improvements
- Improved Makefile to make it easier to configure paths to tools
- Made number of signicant characters for subroutine and variable names a `#define` constant and tested it works with different values
- Modified memory allocation in `HEAP2` - the source code is now allocated at the bottom, growing up.  The compiler's linkage table is allocated at the top growing down.  This makes it easy to dispose of the linkage table after compilation is done.
- This revealed that my memory limits were wrong so code was crashing on C64, Apple II.  I bumped up the bottom of `HEAP2` by 0x500 or so.  Not sure why this is needed.
- Added a signon banner to the virtual machine so it is clear it is loading bytecode.  Screen is cleared after loading is complete, so user knows when execution begins.
2018-05-02 17:41:42 -04:00
Bobbi Webber-Manners
2dc9bfc4f9
Fixed link to wiki? 2018-05-02 15:03:05 -04:00
Bobbi Webber-Manners
94367b05db
Added link to wiki 2018-05-02 15:02:25 -04:00
Bobbi Webber-Manners
0d7d73d74e
Added roadmap section. 2018-05-02 15:00:36 -04:00
Bobbi Webber-Manners
5e19f57bac
Added section on Data Types 2018-05-01 21:08:00 -04:00
Bobbi Webber-Manners
82aec409d5
Removed references to the wiki. 2018-05-01 20:49:47 -04:00
Bobbi Webber-Manners
4d506a06da
Finished section on compiler internals (for now) 2018-05-01 20:38:02 -04:00
Bobbi Webber-Manners
b676a6915d
Fixed example code to be legal! 2018-05-01 20:25:20 -04:00
Bobbi Webber-Manners
c7081c357a
Additional info on internals 2018-05-01 20:21:39 -04:00
Bobbi Webber-Manners
f457b18edc
Cleaned up Makefile. 2018-05-01 18:31:23 -04:00
Bobbi Webber-Manners
fd807e0346
Improved example code a bit 2018-05-01 17:52:48 -04:00
Bobbi Webber-Manners
bdcb01e7a9
Added yet another example. 2018-05-01 17:49:30 -04:00
Bobbi Webber-Manners
6c6eafffd5
Additional example, clarification. 2018-05-01 17:44:03 -04:00
Bobbi Webber-Manners
46e0f0ce71
Added mention of endsub. 2018-05-01 17:39:02 -04:00
Bobbi Webber-Manners
8b4488ece4
Added example on locals hiding globals 2018-05-01 17:29:50 -04:00
Bobbi Webber-Manners
8f29e9d968
Minor improvements to subroutine section 2018-05-01 17:22:00 -04:00
Bobbi Webber-Manners
27a1a9eb44
Added clarification that it is :l, not :1 2018-05-01 17:17:19 -04:00
Bobbi Webber-Manners
f90b88dad5
Minor change to text. 2018-05-01 17:11:00 -04:00
Bobbi Webber-Manners
5571265666
Added Hello World. Just coz. 2018-05-01 17:09:07 -04:00
Bobbi Webber-Manners
8d927c9104
Formatting fix. 2018-05-01 16:44:21 -04:00
Bobbi Webber-Manners
567edfa382
Improved description of the project. 2018-05-01 16:43:11 -04:00
Bobbi Webber-Manners
e3300c496c
Minor fix up to build instructions. 2018-05-01 16:31:09 -04:00
Bobbi Webber-Manners
437138f8b9
Build instructions. 2018-05-01 16:26:46 -04:00
Bobbi Webber-Manners
3fe66499c2
Minor fix. 2018-05-01 15:47:48 -04:00
Bobbi Webber-Manners
3ed7af05e2
Reorganized the first few sections. 2018-05-01 15:46:36 -04:00
Bobbi Webber-Manners
6c13e3957f
Fix TOC link. 2018-05-01 15:41:45 -04:00
Bobbi Webber-Manners
6bd1264a5c
Added entries to TOC. 2018-05-01 15:40:54 -04:00
Bobbi Webber-Manners
d017ef92d2
Added table of VM instructions. 2018-05-01 15:37:57 -04:00
Bobbi Webber-Manners
e9a75e7621
Removed photo credit. 2018-05-01 15:11:30 -04:00
Bobbi Webber-Manners
d3bb11df10
More compiler internals documentation. 2018-05-01 15:10:47 -04:00
Bobbi Webber-Manners
425217a6d5
Update README.md 2018-05-01 13:48:25 -04:00
Bobbi Webber-Manners
8c15345efd
Added explanation of memory architecture. 2018-05-01 13:47:19 -04:00
Bobbi Webber-Manners
d0b65a8451
Added note on unit test script. 2018-05-01 13:07:08 -04:00
Bobbi Webber-Manners
81fd9332e0
Save work in progress - VM internals 2018-05-01 13:03:38 -04:00
Bobbi Webber-Manners
b07fe81051
Added 8 bit quick start instructions. 2018-05-01 12:37:12 -04:00
Bobbi Webber-Manners
2d39fd80d1
Fixed picture embedding. 2018-05-01 12:20:54 -04:00
Bobbi Webber-Manners
b8bdb11b63
Added image. 2018-05-01 12:19:00 -04:00
Bobbi Webber-Manners
9f3fd86ba4
Updated gcc version. 2018-05-01 12:07:55 -04:00