ccom.git
7 years agoFix bitfield selection operators to use c0 version of tree
Nick Downing [Fri, 10 Feb 2017 15:37:28 +0000 (02:37 +1100)]
Fix bitfield selection operators to use c0 version of tree

7 years agoFix STRASG issue (might need further attention), fix float and string literals
Nick Downing [Fri, 10 Feb 2017 13:36:08 +0000 (00:36 +1100)]
Fix STRASG issue (might need further attention), fix float and string literals

7 years agoSTAUTO bugfix to reinstate correct automatic variable storage allocation
Nick Downing [Fri, 10 Feb 2017 11:47:48 +0000 (22:47 +1100)]
STAUTO bugfix to reinstate correct automatic variable storage allocation

7 years agoMake cbranch0() route into cbranch1(), doesn't add STRASG node yet, need to fix
Nick Downing [Fri, 10 Feb 2017 10:55:14 +0000 (21:55 +1100)]
Make cbranch0() route into cbranch1(), doesn't add STRASG node yet, need to fix

7 years agoMake rcexpr0() route into rcexpr1(), doesn't add STRASG node yet, need to fix
Nick Downing [Fri, 10 Feb 2017 10:41:03 +0000 (21:41 +1100)]
Make rcexpr0() route into rcexpr1(), doesn't add STRASG node yet, need to fix

7 years agoMake c0 allocate augmented struct (x)tname instead of struct tnode in nblock()
Nick Downing [Fri, 10 Feb 2017 10:09:41 +0000 (21:09 +1100)]
Make c0 allocate augmented struct (x)tname instead of struct tnode in nblock()

7 years agoActually unify union tree0 with union tree1, move tree definitions into ccom.h
Nick Downing [Fri, 10 Feb 2017 09:34:04 +0000 (20:34 +1100)]
Actually unify union tree0 with union tree1, move tree definitions into ccom.h

7 years agoStart to unify union tree0 with union tree1 (change cnode to tconst0 and so on)
Nick Downing [Fri, 10 Feb 2017 09:08:09 +0000 (20:08 +1100)]
Start to unify union tree0 with union tree1 (change cnode to tconst0 and so on)

7 years agoMake proper one-pass compiler by redirecting c0 outcode() into c1 getree()
Nick Downing [Thu, 9 Feb 2017 15:29:05 +0000 (02:29 +1100)]
Make proper one-pass compiler by redirecting c0 outcode() into c1 getree()

7 years agoPut explicit starttree() and endtree() around all calls to rcexpr0() in c0 part
Nick Downing [Thu, 9 Feb 2017 14:07:55 +0000 (01:07 +1100)]
Put explicit starttree() and endtree() around all calls to rcexpr0() in c0 part

7 years agoCreated new driver ccom.c which creates its own tempfiles and runs both passes
Nick Downing [Tue, 7 Feb 2017 13:34:05 +0000 (00:34 +1100)]
Created new driver ccom.c which creates its own tempfiles and runs both passes

7 years agoUniqify all conflicting declarations in c[01], merge common stuff in new ccom.h
Nick Downing [Tue, 7 Feb 2017 12:54:55 +0000 (23:54 +1100)]
Uniqify all conflicting declarations in c[01], merge common stuff in new ccom.h

7 years agoC compiler from 211bsd.git commit 98921db
Nick Downing [Tue, 7 Feb 2017 11:41:49 +0000 (22:41 +1100)]
C compiler from 211bsd.git commit 98921db