Commit Graph

180 Commits

Author SHA1 Message Date
Wolfgang Thaller
8cd19154a5 fix handling of \n, \r, \t escape sequences in strings 2014-10-16 02:29:41 +02:00
Wolfgang Thaller
eadbe38cfc add some unit tests 2014-10-16 02:29:12 +02:00
Wolfgang Thaller
75f6ed32f5 Rez: --append option 2014-10-16 02:27:12 +02:00
Wolfgang Thaller
8b723e5685 -I and -D command line options (specify include paths/defines) 2014-10-16 02:26:41 +02:00
Wolfgang Thaller
30abda2087 silence warnings 2014-10-16 02:25:23 +02:00
Wolfgang Thaller
701c6d21bc Rez: "data" declarations 2014-10-14 02:19:26 +02:00
Wolfgang Thaller
c93cb8feae implement $$byte, $$word, $$long, $$bitfield 2014-10-14 00:11:21 +02:00
Wolfgang Thaller
959846f093 fix bug in hex numbers 2014-10-13 22:59:14 +02:00
Wolfgang Thaller
6a298ca3bb add Rez to toolchain file 2014-10-12 19:17:04 +02:00
Wolfgang Thaller
3aed54a672 string concat, $$read function; make function names keywords 2014-10-12 19:16:02 +02:00
Wolfgang Thaller
df0e042120 use ResType class in Resources lib, prevent dupicate resources 2014-10-12 19:12:10 +02:00
Wolfgang Thaller
127db48a26 Rez: command line options 2014-10-09 22:15:13 +02:00
Wolfgang Thaller
2b64cb707d Rez: string literal concatenation, hex strings 2014-10-09 21:41:41 +02:00
Wolfgang Thaller
2b5c415db3 add Rez/README.md 2014-10-09 00:52:39 +02:00
Wolfgang Thaller
6763bf3b4d handle strings properly (remove quotes, handle escapes) 2014-10-09 00:52:17 +02:00
Wolfgang Thaller
70b5b36d47 Rez: write actual resource files 2014-10-08 02:52:34 +02:00
Wolfgang Thaller
a9c399ff2a MakeAPPL: factor out resource file code 2014-10-08 02:52:15 +02:00
Wolfgang Thaller
cb25b8106c Rez: rect and point 2014-10-08 01:55:54 +02:00
Wolfgang Thaller
e9edbb2ffa predefine true and false 2014-10-08 01:38:00 +02:00
Wolfgang Thaller
340db62480 Rez: IdentifierExpr: strings and subscripts 2014-10-08 01:37:51 +02:00
Wolfgang Thaller
50eb0f5373 Rez: fill and align 2014-10-08 01:37:28 +02:00
Wolfgang Thaller
e0ab85c1c4 Rez: strings 2014-10-08 01:17:39 +02:00
Wolfgang Thaller
399131a8a6 Rez: switch 2014-10-08 01:17:17 +02:00
Wolfgang Thaller
a02d56ba1c Rez: Labels, $$CountOf, $$ArrayIndex 2014-10-08 00:41:40 +02:00
Wolfgang Thaller
523a68d3de primitive array support 2014-10-07 20:44:40 +02:00
Wolfgang Thaller
e5d2ab752a can layout (but not really compile) resources consisting of integers only 2014-10-07 20:15:46 +02:00
Wolfgang Thaller
2b3e533937 start with semantics 2014-10-06 17:03:25 +02:00
Wolfgang Thaller
cb554ed40f Rez: successful parse. 2014-10-05 23:52:34 +02:00
Wolfgang Thaller
7581140436 fix a minor bug in Launcher, add -Wl,-gc-sections to generate smaller executables 2014-10-05 23:47:37 +02:00
Wolfgang Thaller
04e7e64a55 MakeAPPL: add code for reading resources 2014-10-01 23:51:20 +02:00
Wolfgang Thaller
85c8063cac output applications in BasiliskII-compatible format 2014-09-30 19:21:41 +02:00
Wolfgang Thaller
04d8465b3b remove some dead code 2014-09-30 19:20:52 +02:00
Wolfgang Thaller
8758a45f0f be a little more generous in default 'SIZE' resource 2014-09-30 18:41:15 +02:00
Wolfgang Thaller
3f2a63ff40 configure gcc to pass the right linker flags & simplify CMakeLists
It is no longer necessary to pass special compiler options in order to compile an application.
2014-09-30 16:25:27 +02:00
Wolfgang Thaller
4e766452b4 reduce namespace pollution from console library 2014-09-30 16:25:27 +02:00
Wolfgang Thaller
c9f832b2c9 malloc: set errno on out-of-memory 2014-09-30 16:25:26 +02:00
Wolfgang Thaller
3911cb2fde _start(): Use exit() instead of ExitToShell() 2014-09-30 16:25:26 +02:00
Wolfgang Thaller
e6df3abfe0 clean up _start(): it is now safe to call OS traps without inline assembly. 2014-09-30 16:25:26 +02:00
Wolfgang Thaller
eb5d22bac5 add test program for global constructors/destructors 2014-09-30 16:25:25 +02:00
Wolfgang Thaller
831cbc3aa9 Merge pull request #8 from clehner/master
A couple more glue functions
2014-09-29 09:18:55 +02:00
Charles Lehner
6f2812ca65 Add OpenDriver and CloseDriver glue 2014-09-28 22:54:46 -04:00
Charles Lehner
fa39132cdc Add GetWDInfo glue 2014-09-28 11:18:27 -04:00
Wolfgang Thaller
073047e119 fix pascal functions returning void 2014-09-28 02:31:31 +02:00
Wolfgang Thaller
113b7407e1 Split App2 directory into TestApps/ and Console/ 2014-09-27 17:21:03 +02:00
Wolfgang Thaller
50ce1d2bdd asfilter: clean up temp files 2014-09-27 17:14:45 +02:00
Wolfgang Thaller
d4439bbdcf Merge pull request #7 from clehner/master
Add some File Manager functions
2014-09-26 19:47:35 +02:00
Charles Lehner
5ec06b0605 Add SetEOF 2014-09-26 09:53:08 -04:00
Charles Lehner
3bd859aaa3 Add file Create function 2014-09-26 01:38:58 -04:00
Charles Lehner
c6b5221803 Add FSWrite, GetFPos, SetFPos 2014-09-26 01:05:40 -04:00
Charles Lehner
fda2e0a378 Add some Files Manager glue functions (#4) 2014-09-26 00:50:28 -04:00