Commit graph

76 commits

Author SHA1 Message Date
Dale Weiler
cda5076356 undo util_endianswap 2012-04-22 16:59:00 -04:00
Dale Weiler
691d146d9b -fdarkplaces-stringtablebug 2012-04-22 16:58:12 -04:00
Dale Weiler
4d001da04e Language type selection at command line. 2012-04-21 22:55:30 -04:00
Dale Weiler
7849f8c597 slightly faster hash function (using crc32), with precomputed polynomial table (256x32-bit entries, eight shifted xor operations). QuakeC header files include a crc16 in them (this isn't it, that is on the TODO list) 2012-04-21 16:02:33 -04:00
Dale Weiler
7ce3964772 removed branch 2012-04-20 01:24:11 -04:00
Dale Weiler
03295d7adc command line argument parsing. 2012-04-20 01:20:22 -04:00
Dale Weiler
857cb72a94 Starting assembly 2012-04-20 00:44:44 -04:00
Dale Weiler
36ff87c130 Indentation 2012-04-19 18:03:30 -04:00
Dale Weiler
082caf61bd ensure all data is LE format, cleanups, etc. 2012-04-19 16:41:03 -04:00
Dale Weiler
32b804864e Fix clang warnings 2012-04-17 17:31:07 -04:00
Dale Weiler
2bef34a4f7 Fix memory leaks, more memory tracker stuff as well. 2012-04-17 17:16:11 -04:00
Dale Weiler
477e80f1fb tabulators->four spaces 2012-04-17 16:24:22 -04:00
Dale Weiler
9031c57e39 Fix potential bug with derefrencing a NULL pointer 2012-04-17 16:22:28 -04:00
Dale Weiler
7501444add replaced getline with util_getline 2012-04-17 16:14:00 -04:00
Dale Weiler
f8f0cdf95d More information about assembler instructions 2012-04-17 08:26:52 -04:00
Dale Weiler
f76c1d2078 Updated README 2012-04-17 05:24:37 -04:00
Dale Weiler
ca3d30f47b Updated README 2012-04-17 05:21:27 -04:00
Dale Weiler
e650f9368b Updated README 2012-04-17 05:20:36 -04:00
Dale Weiler
f67b6ea240 Fixes to README 2012-04-17 05:15:47 -04:00
Dale Weiler
5e218e4e30 updated README 2012-04-17 05:12:05 -04:00
Dale Weiler
905d229f15 Update README 2012-04-17 05:04:07 -04:00
Dale Weiler
6e3819a76c Work in progress assembler, cleanups and more. 2012-04-17 04:29:58 -04:00
Dale Weiler
36378e341e More cleanups 2012-04-15 18:01:21 -04:00
Dale Weiler
98b0e11890 Cleanups 2012-04-15 17:47:14 -04:00
Dale Weiler
29a3c02c35 Removed primitive AST tree generator ... I'm planning a rewrite as we speak. 2012-04-15 07:59:22 -04:00
Dale Weiler
e8a1cfae25 Fixes 2012-04-14 04:22:48 -04:00
Dale Weiler
10ee099cc1 compile-time constant generation, and some cleanups 2012-04-14 04:17:06 -04:00
Dale Weiler
2f8c7cfc96 cleanups 2012-04-14 03:58:28 -04:00
Dale Weiler
4e35032a24 Include now works 2012-04-14 03:53:20 -04:00
Dale Weiler
ebe77805eb Vector test 2012-04-14 03:08:15 -04:00
Dale Weiler
76a6ad2d96 Indentation 2012-04-14 02:51:52 -04:00
Dale Weiler
b9050b6637 Indentation 2012-04-14 02:48:11 -04:00
Dale Weiler
d90ff829bd Indentation (last) 2012-04-14 02:47:29 -04:00
Dale Weiler
b0717242d8 Indentation 2012-04-14 02:46:53 -04:00
Dale Weiler
cc2c0ddbab Indentation 2012-04-14 02:45:28 -04:00
Dale Weiler
25acfa1c7d Indentation 2012-04-14 02:41:52 -04:00
Dale Weiler
806cd92dfb Indentation 2012-04-14 02:40:50 -04:00
Dale Weiler
27b9348c2c More vector parsing (now supports sign) 2012-04-14 02:39:33 -04:00
Dale Weiler
9493da4f8b I got parsing to work finally. 2012-04-12 02:22:28 -04:00
Dale Weiler
32d7728b2f Parsing fixes 2012-04-11 22:13:34 -04:00
Dale Weiler
e4bc0a2d6a More parsing stuff (still totally broken) 2012-04-11 19:41:04 -04:00
Dale Weiler
e4e6185d5f Count file lines 2012-04-11 15:53:40 -04:00
Dale Weiler
51e2f2b731 Implemented support for #include, but it doesn't add an include to the lexer yet. 2012-04-11 12:13:31 -04:00
Dale Weiler
9a7fa82bd0 It does hello world 2012-04-11 08:40:17 -04:00
Dale Weiler
387a6ecfa7 Test program 2012-04-11 04:18:40 -04:00
Dale Weiler
9904bb58c4 Fix memory leak 2012-04-11 03:58:31 -04:00
Dale Weiler
fcc83306f1 Indentation 2012-04-11 03:57:16 -04:00
Dale Weiler
0b322a8944 Some perliminary code gen code (just writes a header) 2012-04-11 03:54:01 -04:00
Dale Weiler
e0f37db1a6 Cleanups 2012-04-10 05:16:18 -04:00
Dale Weiler
bda6fc826c code.c, info.txt 2012-04-10 05:09:55 -04:00