]> git.rm.cloudns.org Git - xonotic/gmqcc.git/log
xonotic/gmqcc.git
12 years agospace idnentation, macros, strdup again
Wolfgang (Blub) Bumiller [Wed, 25 Apr 2012 12:49:29 +0000 (14:49 +0200)]
space idnentation, macros, strdup again

12 years agoir.c: importing ir_function
Wolfgang (Blub) Bumiller [Wed, 25 Apr 2012 12:47:20 +0000 (14:47 +0200)]
ir.c: importing ir_function

12 years agoSpace indentation in ir.c builder part
Wolfgang (Blub) Bumiller [Wed, 25 Apr 2012 12:46:10 +0000 (14:46 +0200)]
Space indentation in ir.c builder part

12 years agomacros, strdup->util_strdup, malloc->mem_a
Wolfgang (Blub) Bumiller [Wed, 25 Apr 2012 12:45:40 +0000 (14:45 +0200)]
macros, strdup->util_strdup, malloc->mem_a

12 years agoimporting from ir_builder.c -> ir.c
Wolfgang (Blub) Bumiller [Wed, 25 Apr 2012 12:43:23 +0000 (14:43 +0200)]
importing from ir_builder.c -> ir.c

12 years agoast.h
Wolfgang (Blub) Bumiller [Wed, 25 Apr 2012 12:43:00 +0000 (14:43 +0200)]
ast.h

12 years agoAdding the 3 virtual instructions required for the IR later.
Wolfgang (Blub) Bumiller [Wed, 25 Apr 2012 12:35:15 +0000 (14:35 +0200)]
Adding the 3 virtual instructions required for the IR later.

12 years agoRemove some underscores
Wolfgang (Blub) Bumiller [Wed, 25 Apr 2012 11:44:43 +0000 (13:44 +0200)]
Remove some underscores

12 years agoVector macros
Wolfgang (Blub) Bumiller [Wed, 25 Apr 2012 11:44:17 +0000 (13:44 +0200)]
Vector macros

12 years agoAdopting space indentation in ir.h
Wolfgang (Blub) Bumiller [Wed, 25 Apr 2012 11:39:32 +0000 (13:39 +0200)]
Adopting space indentation in ir.h

12 years agoImporting ir.h
Wolfgang (Blub) Bumiller [Wed, 25 Apr 2012 11:37:17 +0000 (13:37 +0200)]
Importing ir.h

12 years agoRemoved unnecessary line
Wolfgang (Blub) Bumiller [Wed, 25 Apr 2012 11:26:29 +0000 (13:26 +0200)]
Removed unnecessary line

12 years agoSpace indentation for ast->ir part
Wolfgang (Blub) Bumiller [Wed, 25 Apr 2012 11:26:08 +0000 (13:26 +0200)]
Space indentation for ast->ir part

12 years agoi{false,true} -> {false,true}
Wolfgang (Blub) Bumiller [Wed, 25 Apr 2012 11:25:05 +0000 (13:25 +0200)]
i{false,true} -> {false,true}

12 years agoAdding from astcodegen.c
Wolfgang (Blub) Bumiller [Wed, 25 Apr 2012 11:24:25 +0000 (13:24 +0200)]
Adding from astcodegen.c

12 years agostyle-fix
Wolfgang (Blub) Bumiller [Wed, 25 Apr 2012 11:22:48 +0000 (13:22 +0200)]
style-fix

12 years agouse the actual VECTOR macros
Wolfgang (Blub) Bumiller [Wed, 25 Apr 2012 11:21:59 +0000 (13:21 +0200)]
use the actual VECTOR macros

12 years agofilecontext_t -> lex_ctx_t
Wolfgang (Blub) Bumiller [Wed, 25 Apr 2012 11:20:49 +0000 (13:20 +0200)]
filecontext_t -> lex_ctx_t

12 years agostrdup -> util_strdup, _name -> name
Wolfgang (Blub) Bumiller [Wed, 25 Apr 2012 11:20:04 +0000 (13:20 +0200)]
strdup -> util_strdup, _name -> name

12 years agoAdopting space-indentation
Wolfgang (Blub) Bumiller [Wed, 25 Apr 2012 11:19:22 +0000 (13:19 +0200)]
Adopting space-indentation

12 years agoImporting ast.c
Wolfgang (Blub) Bumiller [Wed, 25 Apr 2012 11:17:37 +0000 (13:17 +0200)]
Importing ast.c

12 years agoastir.h: importing some macros and types - to be merged into ast.h later
Wolfgang (Blub) Bumiller [Wed, 25 Apr 2012 11:08:47 +0000 (13:08 +0200)]
astir.h: importing some macros and types - to be merged into ast.h later

12 years agoTYPE_ macros
Dale Weiler [Wed, 25 Apr 2012 15:45:01 +0000 (11:45 -0400)]
TYPE_ macros

12 years agos/#define / / & s/[0-9]// & inplace enum { - end }
Dale Weiler [Wed, 25 Apr 2012 15:42:20 +0000 (11:42 -0400)]
s/#define /    / & s/[0-9]// & inplace enum { - end }

12 years agoCRC16 implementation
Dale Weiler [Tue, 24 Apr 2012 20:52:53 +0000 (16:52 -0400)]
CRC16 implementation

12 years agoassembler.c -> asm.c
Dale Weiler [Tue, 24 Apr 2012 20:19:05 +0000 (16:19 -0400)]
assembler.c -> asm.c

12 years agotest/ -> data/
Dale Weiler [Tue, 24 Apr 2012 17:09:17 +0000 (13:09 -0400)]
test/ -> data/

12 years agoTest write access by adding an AUTHORS file
Wolfgang (Blub) Bumiller [Tue, 24 Apr 2012 16:45:52 +0000 (18:45 +0200)]
Test write access by adding an AUTHORS file

12 years agoAUTHORS
Dale Weiler [Tue, 24 Apr 2012 17:05:19 +0000 (13:05 -0400)]
AUTHORS

12 years agonew progs format proposal for engine developers (45% of globals are 0, why write...
Dale Weiler [Tue, 24 Apr 2012 12:19:48 +0000 (08:19 -0400)]
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.)

12 years agoundo util_endianswap
Dale Weiler [Sun, 22 Apr 2012 20:59:00 +0000 (16:59 -0400)]
undo util_endianswap

12 years ago-fdarkplaces-stringtablebug
Dale Weiler [Sun, 22 Apr 2012 20:58:12 +0000 (16:58 -0400)]
-fdarkplaces-stringtablebug

12 years agoLanguage type selection at command line.
Dale Weiler [Sun, 22 Apr 2012 02:55:30 +0000 (22:55 -0400)]
Language type selection at command line.

12 years agoslightly faster hash function (using crc32), with precomputed polynomial table (256x3...
Dale Weiler [Sat, 21 Apr 2012 20:02:33 +0000 (16:02 -0400)]
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)

12 years agoremoved branch
Dale Weiler [Fri, 20 Apr 2012 05:24:11 +0000 (01:24 -0400)]
removed branch

12 years agocommand line argument parsing.
Dale Weiler [Fri, 20 Apr 2012 05:20:22 +0000 (01:20 -0400)]
command line argument parsing.

12 years agoStarting assembly
Dale Weiler [Fri, 20 Apr 2012 04:44:44 +0000 (00:44 -0400)]
Starting assembly

12 years agoIndentation
Dale Weiler [Thu, 19 Apr 2012 22:03:30 +0000 (18:03 -0400)]
Indentation

12 years agoensure all data is LE format, cleanups, etc.
Dale Weiler [Thu, 19 Apr 2012 20:41:03 +0000 (16:41 -0400)]
ensure all data is LE format, cleanups, etc.

12 years agoFix clang warnings
Dale Weiler [Tue, 17 Apr 2012 21:31:07 +0000 (17:31 -0400)]
Fix clang warnings

12 years agoFix memory leaks, more memory tracker stuff as well.
Dale Weiler [Tue, 17 Apr 2012 21:16:11 +0000 (17:16 -0400)]
Fix memory leaks, more memory tracker stuff as well.

12 years agotabulators->four spaces
Dale Weiler [Tue, 17 Apr 2012 20:24:22 +0000 (16:24 -0400)]
tabulators->four spaces

12 years agoFix potential bug with derefrencing a NULL pointer
Dale Weiler [Tue, 17 Apr 2012 20:22:28 +0000 (16:22 -0400)]
Fix potential bug with derefrencing a NULL pointer

12 years agoreplaced getline with util_getline
Dale Weiler [Tue, 17 Apr 2012 20:14:00 +0000 (16:14 -0400)]
replaced getline with util_getline

12 years agoMore information about assembler instructions
Dale Weiler [Tue, 17 Apr 2012 12:26:52 +0000 (08:26 -0400)]
More information about assembler instructions

12 years agoUpdated README
Dale Weiler [Tue, 17 Apr 2012 09:24:37 +0000 (05:24 -0400)]
Updated README

12 years agoUpdated README
Dale Weiler [Tue, 17 Apr 2012 09:21:27 +0000 (05:21 -0400)]
Updated README

12 years agoUpdated README
Dale Weiler [Tue, 17 Apr 2012 09:20:36 +0000 (05:20 -0400)]
Updated README

12 years agoFixes to README
Dale Weiler [Tue, 17 Apr 2012 09:15:47 +0000 (05:15 -0400)]
Fixes to README

12 years agoupdated README
Dale Weiler [Tue, 17 Apr 2012 09:12:05 +0000 (05:12 -0400)]
updated README

12 years agoUpdate README
Dale Weiler [Tue, 17 Apr 2012 09:04:07 +0000 (05:04 -0400)]
Update README

12 years agoWork in progress assembler, cleanups and more.
Dale Weiler [Tue, 17 Apr 2012 08:29:58 +0000 (04:29 -0400)]
Work in progress assembler, cleanups and more.

12 years agoMore cleanups
Dale Weiler [Sun, 15 Apr 2012 22:01:21 +0000 (18:01 -0400)]
More cleanups

12 years agoCleanups
Dale Weiler [Sun, 15 Apr 2012 21:47:14 +0000 (17:47 -0400)]
Cleanups

12 years agoRemoved primitive AST tree generator ... I'm planning a rewrite as we speak.
Dale Weiler [Sun, 15 Apr 2012 11:59:22 +0000 (07:59 -0400)]
Removed primitive AST tree generator ... I'm planning a rewrite as we speak.

12 years agoFixes
Dale Weiler [Sat, 14 Apr 2012 08:22:48 +0000 (04:22 -0400)]
Fixes

12 years agocompile-time constant generation, and some cleanups
Dale Weiler [Sat, 14 Apr 2012 08:17:06 +0000 (04:17 -0400)]
compile-time constant generation, and some cleanups

12 years agocleanups
Dale Weiler [Sat, 14 Apr 2012 07:58:28 +0000 (03:58 -0400)]
cleanups

12 years agoInclude now works
Dale Weiler [Sat, 14 Apr 2012 07:53:20 +0000 (03:53 -0400)]
Include now works

12 years agoVector test
Dale Weiler [Sat, 14 Apr 2012 07:08:15 +0000 (03:08 -0400)]
Vector test

12 years agoIndentation
Dale Weiler [Sat, 14 Apr 2012 06:51:52 +0000 (02:51 -0400)]
Indentation

12 years agoIndentation
Dale Weiler [Sat, 14 Apr 2012 06:48:11 +0000 (02:48 -0400)]
Indentation

12 years agoIndentation (last)
Dale Weiler [Sat, 14 Apr 2012 06:47:29 +0000 (02:47 -0400)]
Indentation (last)

12 years agoIndentation
Dale Weiler [Sat, 14 Apr 2012 06:46:53 +0000 (02:46 -0400)]
Indentation

12 years agoIndentation
Dale Weiler [Sat, 14 Apr 2012 06:45:28 +0000 (02:45 -0400)]
Indentation

12 years agoIndentation
Dale Weiler [Sat, 14 Apr 2012 06:41:52 +0000 (02:41 -0400)]
Indentation

12 years agoIndentation
Dale Weiler [Sat, 14 Apr 2012 06:40:50 +0000 (02:40 -0400)]
Indentation

12 years agoMore vector parsing (now supports sign)
Dale Weiler [Sat, 14 Apr 2012 06:39:33 +0000 (02:39 -0400)]
More vector parsing (now supports sign)

12 years agoI got parsing to work finally.
Dale Weiler [Thu, 12 Apr 2012 06:22:28 +0000 (02:22 -0400)]
I got parsing to work finally.

12 years agoParsing fixes
Dale Weiler [Thu, 12 Apr 2012 02:13:34 +0000 (22:13 -0400)]
Parsing fixes

12 years agoMore parsing stuff (still totally broken)
Dale Weiler [Wed, 11 Apr 2012 23:41:04 +0000 (19:41 -0400)]
More parsing stuff (still totally broken)

12 years agoCount file lines
Dale Weiler [Wed, 11 Apr 2012 19:53:40 +0000 (15:53 -0400)]
Count file lines

12 years agoImplemented support for #include, but it doesn't add an include to the lexer yet.
Dale Weiler [Wed, 11 Apr 2012 16:13:31 +0000 (12:13 -0400)]
Implemented support for #include, but it doesn't add an include to the lexer yet.

12 years agoIt does hello world
Dale Weiler [Wed, 11 Apr 2012 12:40:17 +0000 (08:40 -0400)]
It does hello world

12 years agoTest program
Dale Weiler [Wed, 11 Apr 2012 08:18:40 +0000 (04:18 -0400)]
Test program

12 years agoFix memory leak
Dale Weiler [Wed, 11 Apr 2012 07:58:31 +0000 (03:58 -0400)]
Fix memory leak

12 years agoIndentation
Dale Weiler [Wed, 11 Apr 2012 07:57:16 +0000 (03:57 -0400)]
Indentation

12 years agoSome perliminary code gen code (just writes a header)
Dale Weiler [Wed, 11 Apr 2012 07:54:01 +0000 (03:54 -0400)]
Some perliminary code gen code (just writes a header)

12 years agoCleanups
Dale Weiler [Tue, 10 Apr 2012 09:16:18 +0000 (05:16 -0400)]
Cleanups

12 years agocode.c, info.txt
Dale Weiler [Tue, 10 Apr 2012 09:09:55 +0000 (05:09 -0400)]
code.c, info.txt

12 years agoCleanups
Dale Weiler [Tue, 10 Apr 2012 09:02:58 +0000 (05:02 -0400)]
Cleanups

12 years agodigraph and trigraph tests
Dale Weiler [Tue, 10 Apr 2012 08:29:06 +0000 (04:29 -0400)]
digraph and trigraph tests

12 years agoMore test files
Dale Weiler [Tue, 10 Apr 2012 08:20:27 +0000 (04:20 -0400)]
More test files

12 years agoCleanups
Dale Weiler [Tue, 10 Apr 2012 08:20:15 +0000 (04:20 -0400)]
Cleanups

12 years agoFormatting
Dale Weiler [Tue, 10 Apr 2012 05:06:33 +0000 (01:06 -0400)]
Formatting

12 years agoUpdate README
Dale Weiler [Tue, 10 Apr 2012 05:05:14 +0000 (01:05 -0400)]
Update README

12 years agoFixed parsing issues, added some parser tests.
Dale Weiler [Tue, 10 Apr 2012 05:03:52 +0000 (01:03 -0400)]
Fixed parsing issues, added some parser tests.

12 years agoParse fixes
Dale Weiler [Tue, 10 Apr 2012 04:23:28 +0000 (00:23 -0400)]
Parse fixes

12 years agoFix parser bug
Dale Weiler [Tue, 10 Apr 2012 03:46:59 +0000 (23:46 -0400)]
Fix parser bug

12 years agoImplemented memory tracker
Dale Weiler [Tue, 10 Apr 2012 03:12:42 +0000 (23:12 -0400)]
Implemented memory tracker

12 years agoMore parse tree stuff
Dale Weiler [Tue, 10 Apr 2012 02:44:06 +0000 (22:44 -0400)]
More parse tree stuff

12 years agoFixes for '#' tokens
Dale Weiler [Tue, 10 Apr 2012 01:32:24 +0000 (21:32 -0400)]
Fixes for '#' tokens

12 years agoCleanups
Dale Weiler [Tue, 10 Apr 2012 00:39:54 +0000 (20:39 -0400)]
Cleanups

12 years agoMore cleanups
Dale Weiler [Tue, 10 Apr 2012 00:23:40 +0000 (20:23 -0400)]
More cleanups

12 years agoCleaups and README
Dale Weiler [Tue, 10 Apr 2012 00:18:49 +0000 (20:18 -0400)]
Cleaups and README

12 years agoFormatting
Dale Weiler [Tue, 10 Apr 2012 00:12:00 +0000 (20:12 -0400)]
Formatting

12 years agoTypedefs can now be registered, and even typedef a typedef.
Dale Weiler [Tue, 10 Apr 2012 00:10:52 +0000 (20:10 -0400)]
Typedefs can now be registered, and even typedef a typedef.

12 years agoFormatting
Dale Weiler [Mon, 9 Apr 2012 23:50:30 +0000 (19:50 -0400)]
Formatting

12 years agoImplemented typedefs
Dale Weiler [Mon, 9 Apr 2012 23:47:20 +0000 (19:47 -0400)]
Implemented typedefs

12 years agoMore parsing & parse tree
Dale Weiler [Mon, 9 Apr 2012 23:00:13 +0000 (19:00 -0400)]
More parsing & parse tree