Joseph Poirier
6ed4aa1b63
formatting
2015-06-22 14:16:49 -05:00
Joseph Poirier
f551e28a49
formatting
2015-06-21 20:54:56 -05:00
Joseph Poirier
9c05060820
initialize
2015-06-18 22:49:47 -05:00
Joseph Poirier
97fbbaaf8f
system includes before user includes, and cleanup
2015-06-17 16:34:26 -05:00
Joseph Poirier
0ac0f71fc0
proper static prototypes
2015-06-17 04:30:27 -05:00
Joseph Poirier
890694a14a
formatting
2015-06-14 04:46:15 -05:00
Joseph Poirier
463f086a33
changes after simple analysis, added FIXMEs
2015-06-14 02:08:10 -05:00
Joseph Poirier
9636ca0b2a
minor format changes
2015-06-13 19:06:23 -05:00
Joseph Poirier
8c18e1d061
respect 80 col mark when it makes sense
2015-06-10 19:27:30 -05:00
Joseph Poirier
e52188dcda
respect 80 col mark when it makes sense
2015-06-10 18:49:09 -05:00
Joseph Poirier
9293ed0443
use stdbool.h and convert TRUE/FALSE to true/false
2015-06-10 14:24:53 -05:00
Joseph Poirier
b2d468537e
remove NO_FP checks; assume at least softfp, remove NO_MODULUS
2015-06-10 13:38:54 -05:00
Joseph Poirier
c063462464
reorder types
2015-06-10 13:07:58 -05:00
Joseph Poirier
f26b78f29f
PRINT_SOURCE_POS macro refactors
2015-06-10 12:33:16 -05:00
Joseph Poirier
a755ebfbe6
proper debug func prototypes, remove DEBUGGER compile switch double negative :/
2015-06-07 21:12:20 -05:00
Joseph Poirier
1a4b9a92c4
ongoing dev: remove unused platform specific code
2015-06-07 20:56:23 -05:00
Joseph Poirier
d6249f4bda
don't explicitly set EnableDebugger=TRUE when calling PicocParse, state is now set via NO_DEBUGGER compile switch, add ignore items'
2015-06-07 19:37:21 -05:00
Joseph Poirier
8964112c70
define NO_BUGGER by default in make file
2015-06-07 00:02:32 -05:00
Joseph Poirier
a61bd97d9b
formatting
2015-06-06 23:40:08 -05:00
zik.saleeba
1493fa103d
Added printf() format related fix thanks to christophe.foucher.
...
git-svn-id: http://picoc.googlecode.com/svn/trunk@603 21eae674-98b7-11dd-bd71-f92a316d2d60
2013-10-14 23:41:09 +00:00
zik.saleeba
b5a600a749
Merged in a pile of changes from broscutamaker
...
git-svn-id: http://picoc.googlecode.com/svn/trunk@599 21eae674-98b7-11dd-bd71-f92a316d2d60
2013-03-16 07:39:34 +00:00
zik.saleeba
62bc229f4a
Adapted to be fully re-entrant.
...
Issue #137
git-svn-id: http://picoc.googlecode.com/svn/trunk@581 21eae674-98b7-11dd-bd71-f92a316d2d60
2012-09-22 05:11:44 +00:00
zik.saleeba
cb4c34b506
Created Visual Studio 2011 project.
...
Modified to compile under Visual Studio 2011.
git-svn-id: http://picoc.googlecode.com/svn/trunk@572 21eae674-98b7-11dd-bd71-f92a316d2d60
2011-10-05 10:57:24 +00:00
zik.saleeba
853b6f6259
Added some more comments.
...
Added the beginnings of a debugger. It's not useful yet.
git-svn-id: http://picoc.googlecode.com/svn/trunk@570 21eae674-98b7-11dd-bd71-f92a316d2d60
2011-05-01 06:50:00 +00:00
zik.saleeba
6b31113511
Unnamed enums, structs and unions implemented.
...
git-svn-id: http://picoc.googlecode.com/svn/trunk@553 21eae674-98b7-11dd-bd71-f92a316d2d60
2011-02-18 03:30:34 +00:00
zik.saleeba
9b0bd8c4dc
Trying to make PicocPlatformSetExitPoint() work correctly.
...
git-svn-id: http://picoc.googlecode.com/svn/trunk@551 21eae674-98b7-11dd-bd71-f92a316d2d60
2011-02-18 02:16:51 +00:00
zik.saleeba
b23d1e8e06
Big reorganisation to make it easier to access picoc as a library.
...
Also moved most internal header stuff to the new header interpreter.h.
git-svn-id: http://picoc.googlecode.com/svn/trunk@549 21eae674-98b7-11dd-bd71-f92a316d2d60
2011-02-17 07:11:20 +00:00
zik.saleeba
df9129b355
Calls to exit(n) now return the exit value n to the command line.
...
This fixes issue 100.
git-svn-id: http://picoc.googlecode.com/svn/trunk@478 21eae674-98b7-11dd-bd71-f92a316d2d60
2010-07-27 15:35:25 +00:00
zik.saleeba
e45e455b9b
Now handling multi-line string constants correctly.
...
Also handling either LF newlines or CR/LF newlines in multi-line string constants correctly.
Changed handling of multi-line comments to use the new, simpler Lexer->EmitExtraNewlines field.
Made FANCY_ERROR_REPORTING standard to reduce code obfuscation.
Fixed issue 98.
git-svn-id: http://picoc.googlecode.com/svn/trunk@473 21eae674-98b7-11dd-bd71-f92a316d2d60
2010-07-27 10:35:54 +00:00
zik.saleeba
40e338b823
Added printf() and variants to stdio
...
git-svn-id: http://picoc.googlecode.com/svn/trunk@424 21eae674-98b7-11dd-bd71-f92a316d2d60
2010-06-11 17:12:49 +00:00
zik.saleeba
441f8b4073
Added example functions lineno() and errorprintf()
...
git-svn-id: http://picoc.googlecode.com/svn/trunk@405 21eae674-98b7-11dd-bd71-f92a316d2d60
2010-02-03 20:01:01 +00:00
zik.saleeba
d5811d37d5
printf() now supports field widths, zero-padding and left/right justification.
...
git-svn-id: http://picoc.googlecode.com/svn/trunk@342 21eae674-98b7-11dd-bd71-f92a316d2d60
2009-10-22 20:08:43 +00:00
zik.saleeba
3a1e39f9d3
New fancy error reporting feature makes nice error messages
...
git-svn-id: http://picoc.googlecode.com/svn/trunk@330 21eae674-98b7-11dd-bd71-f92a316d2d60
2009-06-04 07:41:06 +00:00
zik.saleeba
b6e61dd8ab
Created a stream output system.
...
Implemented sprintf().
git-svn-id: http://picoc.googlecode.com/svn/trunk@271 21eae674-98b7-11dd-bd71-f92a316d2d60
2009-04-27 04:56:58 +00:00
zik.saleeba
c805b3fdec
Added ability to print types in error messages
...
git-svn-id: http://picoc.googlecode.com/svn/trunk@268 21eae674-98b7-11dd-bd71-f92a316d2d60
2009-04-24 01:02:25 +00:00
zik.saleeba
188eb93d43
Fixed a minor error in va_list handling
...
git-svn-id: http://picoc.googlecode.com/svn/trunk@210 21eae674-98b7-11dd-bd71-f92a316d2d60
2009-03-16 00:47:01 +00:00
zik.saleeba
207549bf17
Reorganised platform/library stuff for better separation between
...
platforms.
Removed unnecessary union in pointers.
git-svn-id: http://picoc.googlecode.com/svn/trunk@203 21eae674-98b7-11dd-bd71-f92a316d2d60
2009-03-15 07:07:21 +00:00