Commit graph

517 commits

Author SHA1 Message Date
zik.saleeba b57f0eac65 Simple counting loops now work
git-svn-id: http://picoc.googlecode.com/svn/trunk@17 21eae674-98b7-11dd-bd71-f92a316d2d60
2008-12-21 03:46:32 +00:00
zik.saleeba ebf601bfb9 Removed unused path in TableSet()
git-svn-id: http://picoc.googlecode.com/svn/trunk@16 21eae674-98b7-11dd-bd71-f92a316d2d60
2008-12-21 03:13:25 +00:00
zik.saleeba eba1492fcb Function definitions implemented.
Lexer changed to not carry values in LexState.


git-svn-id: http://picoc.googlecode.com/svn/trunk@15 21eae674-98b7-11dd-bd71-f92a316d2d60
2008-12-21 01:36:09 +00:00
zik.saleeba 19fbe151ff Fixed a number lexing bug.
Fixed an assignment bug.
Beginnings of function handling.
Now can run a simple program for the first time.


git-svn-id: http://picoc.googlecode.com/svn/trunk@14 21eae674-98b7-11dd-bd71-f92a316d2d60
2008-12-20 11:46:21 +00:00
zik.saleeba 42c28c78c7 Neatened calling and error handling.
Parser now handles assignment.


git-svn-id: http://picoc.googlecode.com/svn/trunk@13 21eae674-98b7-11dd-bd71-f92a316d2d60
2008-12-20 10:24:34 +00:00
zik.saleeba 553e501460 Fixed decimal printing
git-svn-id: http://picoc.googlecode.com/svn/trunk@12 21eae674-98b7-11dd-bd71-f92a316d2d60
2008-12-19 07:26:41 +00:00
zik.saleeba ead3f08671 Updated hello.c to current syntax.
Fixed a bug in string constant handling.


git-svn-id: http://picoc.googlecode.com/svn/trunk@11 21eae674-98b7-11dd-bd71-f92a316d2d60
2008-12-19 04:24:55 +00:00
zik.saleeba a41ac67b50 Now compiles
git-svn-id: http://picoc.googlecode.com/svn/trunk@10 21eae674-98b7-11dd-bd71-f92a316d2d60
2008-12-19 00:22:52 +00:00
zik.saleeba 8cfd9c6013 Wrote much of the parser
git-svn-id: http://picoc.googlecode.com/svn/trunk@9 21eae674-98b7-11dd-bd71-f92a316d2d60
2008-11-22 02:56:08 +00:00
zik.saleeba 50c7494508 Starting the parser
git-svn-id: http://picoc.googlecode.com/svn/trunk@8 21eae674-98b7-11dd-bd71-f92a316d2d60
2008-10-16 07:04:23 +00:00
zik.saleeba 5ddfcfd14a Completed lexer.
Removed dependence on strtol()

git-svn-id: http://picoc.googlecode.com/svn/trunk@7 21eae674-98b7-11dd-bd71-f92a316d2d60
2008-10-15 02:09:47 +00:00
zik.saleeba d89cc62990 More lexiness
git-svn-id: http://picoc.googlecode.com/svn/trunk@6 21eae674-98b7-11dd-bd71-f92a316d2d60
2008-10-14 11:46:42 +00:00
zik.saleeba 96674aad41 Now uses internal printf
git-svn-id: http://picoc.googlecode.com/svn/trunk@5 21eae674-98b7-11dd-bd71-f92a316d2d60
2008-10-14 11:18:43 +00:00
zik.saleeba 32c5617d83 Fixed errors
git-svn-id: http://picoc.googlecode.com/svn/trunk@4 21eae674-98b7-11dd-bd71-f92a316d2d60
2008-10-14 04:51:34 +00:00
zik.saleeba b5f685e744 Now compiles cleanly
git-svn-id: http://picoc.googlecode.com/svn/trunk@3 21eae674-98b7-11dd-bd71-f92a316d2d60
2008-10-13 10:53:25 +00:00
zik.saleeba 7bfc2c0be5 Initial checkin of picoc. Not working yet.
git-svn-id: http://picoc.googlecode.com/svn/trunk@2 21eae674-98b7-11dd-bd71-f92a316d2d60
2008-10-13 00:53:28 +00:00
(no author) bc1b85ab0b Initial directory structure.
git-svn-id: http://picoc.googlecode.com/svn/trunk@1 21eae674-98b7-11dd-bd71-f92a316d2d60
2008-10-12 23:40:20 +00:00