Commit graph

187 commits

Author SHA1 Message Date
Dale Weiler
8049252f65 new progs format proposal for engine developers (45% of globals are 0, why write them, let the engine populate them. We can essentially save 9884 bytes in xonotic's progs.dat with this new format.) 2012-04-24 08:19:48 -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
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
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
7501444add replaced getline with util_getline 2012-04-17 16:14:00 -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
4e35032a24 Include now works 2012-04-14 03:53:20 -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
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
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
639fc8a32b Cleanups 2012-04-10 05:02:58 -04:00
Dale Weiler
d5dcb3aff7 digraph and trigraph tests 2012-04-10 04:29:06 -04:00
Dale Weiler
bd5ba9e0fe Cleanups 2012-04-10 04:20:15 -04:00
Dale Weiler
02e9098d3d Fixed parsing issues, added some parser tests. 2012-04-10 01:03:52 -04:00
Dale Weiler
248cd7af94 Fix parser bug 2012-04-09 23:46:59 -04:00
Dale Weiler
506f4bca1b Implemented memory tracker 2012-04-09 23:12:42 -04:00
Dale Weiler
c3f08b289b Cleanups 2012-04-09 20:39:54 -04:00
Dale Weiler
a440c1410b Cleaups and README 2012-04-09 20:18:49 -04:00
Dale Weiler
45cbef1b8f Typedefs can now be registered, and even typedef a typedef. 2012-04-09 20:10:52 -04:00
Dale Weiler
b10d1005fb Implemented typedefs 2012-04-09 19:47:20 -04:00
Dale Weiler
2b94dc1d89 More parsing & parse tree 2012-04-09 19:00:13 -04:00
Dale Weiler
1deeb8c9cf Work in progress preprocessor 2012-04-09 09:36:16 -04:00
Dale Weiler
c436c3a6c6 Some new types, and lexer changes 2012-04-09 07:45:20 -04:00
Dale Weiler
fe6e142f85 Some fixes and command line switches parsing 2012-04-09 07:09:57 -04:00
Dale Weiler
48a95ec3c9 initial commit 2012-04-09 06:42:06 -04:00