Joseph Poirier
da52154b37
remove leftover FP check
2015-06-10 13:45:28 -05:00
Joseph Poirier
b2d468537e
remove NO_FP checks; assume at least softfp, remove NO_MODULUS
2015-06-10 13:38:54 -05:00
JPoirier
cc0882d830
wrap unistd.h with compile switch
2015-06-07 23:24:34 -05:00
Joseph Poirier
9addfe1788
tidy up compilation environment
2015-06-07 22:05:17 -05:00
Joseph Poirier
1a4b9a92c4
ongoing dev: remove unused platform specific code
2015-06-07 20:56:23 -05:00
Joseph Poirier
736650e818
removing unused platform code
2015-06-07 20:25:28 -05:00
Joseph Poirier
af9b423aaa
explicit (1) extern for func prototypes (2) parens in defines
2015-06-07 00:56:20 -05: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
55e2183bea
Changes from Brian Schmalz for surveyor platform
...
git-svn-id: http://picoc.googlecode.com/svn/trunk@550 21eae674-98b7-11dd-bd71-f92a316d2d60
2011-02-17 21:52:15 +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
4919d40cd2
Removed superseded math library references.
...
git-svn-id: http://picoc.googlecode.com/svn/trunk@541 21eae674-98b7-11dd-bd71-f92a316d2d60
2011-02-15 22:59:45 +00:00
zik.saleeba
e6f78cff7e
Moved the picoc version string into picoc.h so it can be referenced outside picoc.
...
git-svn-id: http://picoc.googlecode.com/svn/trunk@540 21eae674-98b7-11dd-bd71-f92a316d2d60
2011-02-15 22:47:28 +00:00
zik.saleeba
6dd3e69fa5
Fixes for Brian Schmalz for the surveyor platform.
...
git-svn-id: http://picoc.googlecode.com/svn/trunk@516 21eae674-98b7-11dd-bd71-f92a316d2d60
2011-02-12 04:23:37 +00:00
zik.saleeba
8e02f32095
Added the ability to select the stack size on UNIX platforms.
...
Fixes issue 92.
git-svn-id: http://picoc.googlecode.com/svn/trunk@477 21eae674-98b7-11dd-bd71-f92a316d2d60
2010-07-27 14:03:06 +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
e977f325ae
Now has the ability to use GNU readline for input editing
...
git-svn-id: http://picoc.googlecode.com/svn/trunk@461 21eae674-98b7-11dd-bd71-f92a316d2d60
2010-07-05 19:53:34 +00:00
zik.saleeba
e564b173be
Some mods for the new SRV1_UNIX_HOST mode
...
git-svn-id: http://picoc.googlecode.com/svn/trunk@439 21eae674-98b7-11dd-bd71-f92a316d2d60
2010-06-13 17:23:10 +00:00
zik.saleeba
16a1872035
Now allocating heap using malloc() on UNIX
...
git-svn-id: http://picoc.googlecode.com/svn/trunk@431 21eae674-98b7-11dd-bd71-f92a316d2d60
2010-06-13 11:31:19 +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
60323df590
Fix for UltraSPARC64 alignment
...
git-svn-id: http://picoc.googlecode.com/svn/trunk@411 21eae674-98b7-11dd-bd71-f92a316d2d60
2010-03-02 19:58:08 +00:00
zik.saleeba
84d2c663e8
Added some platform changes for uMon
...
git-svn-id: http://picoc.googlecode.com/svn/trunk@400 21eae674-98b7-11dd-bd71-f92a316d2d60
2009-11-11 19:41:01 +00:00
zik.saleeba
d09e156558
Fixes for Surveyor SRV-1 platform
...
git-svn-id: http://picoc.googlecode.com/svn/trunk@398 21eae674-98b7-11dd-bd71-f92a316d2d60
2009-11-08 19:23:50 +00:00
zik.saleeba
d5e7a536f1
Now uses the system maths library by default
...
git-svn-id: http://picoc.googlecode.com/svn/trunk@395 21eae674-98b7-11dd-bd71-f92a316d2d60
2009-11-08 11:51:24 +00:00
zik.saleeba
09b2af4d16
Added SPARC endian checks
...
git-svn-id: http://picoc.googlecode.com/svn/trunk@389 21eae674-98b7-11dd-bd71-f92a316d2d60
2009-11-07 18:49:52 +00:00
zik.saleeba
b737bb5973
Minor endian fix
...
git-svn-id: http://picoc.googlecode.com/svn/trunk@388 21eae674-98b7-11dd-bd71-f92a316d2d60
2009-11-07 18:42:20 +00:00
zik.saleeba
26c543f326
Automatic endian detection for known architectures
...
git-svn-id: http://picoc.googlecode.com/svn/trunk@387 21eae674-98b7-11dd-bd71-f92a316d2d60
2009-11-07 18:39:35 +00:00
zik.saleeba
b777be13be
Fixed the HPPA floating point problem
...
git-svn-id: http://picoc.googlecode.com/svn/trunk@386 21eae674-98b7-11dd-bd71-f92a316d2d60
2009-11-07 17:47:25 +00:00
zik.saleeba
31bfd34e9e
Now works for Opteron 64-bit
...
git-svn-id: http://picoc.googlecode.com/svn/trunk@383 21eae674-98b7-11dd-bd71-f92a316d2d60
2009-11-07 13:44:08 +00:00
zik.saleeba
064c64d202
More work on 64 bit support
...
git-svn-id: http://picoc.googlecode.com/svn/trunk@382 21eae674-98b7-11dd-bd71-f92a316d2d60
2009-11-06 22:34:12 +00:00
zik.saleeba
3162c1a2bf
Twiddling with allocation for 64-bit architectures
...
git-svn-id: http://picoc.googlecode.com/svn/trunk@378 21eae674-98b7-11dd-bd71-f92a316d2d60
2009-11-06 18:08:11 +00:00
surveyor.com
2493d1ff01
resync to SURVEYOR_HOST changes
...
git-svn-id: http://picoc.googlecode.com/svn/trunk@364 21eae674-98b7-11dd-bd71-f92a316d2d60
2009-10-31 14:39:43 +00:00
zik.saleeba
b7eb4bee92
Fixed a couple of problems with floating point number printing.
...
Numbers outside the range 0 - 1e7 wouldn't print correct values.
git-svn-id: http://picoc.googlecode.com/svn/trunk@356 21eae674-98b7-11dd-bd71-f92a316d2d60
2009-10-29 21:43:36 +00:00
zik.saleeba
32727cc365
Native pointers feature added
...
git-svn-id: http://picoc.googlecode.com/svn/trunk@331 21eae674-98b7-11dd-bd71-f92a316d2d60
2009-06-05 00:55:54 +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
5f0960d161
Added tests for new math library
...
git-svn-id: http://picoc.googlecode.com/svn/trunk@310 21eae674-98b7-11dd-bd71-f92a316d2d60
2009-05-29 01:01:07 +00:00
zik.saleeba
022e09a7a6
Fixed a bug which was causing decimal constants less than zero to be interpreted as octal
...
git-svn-id: http://picoc.googlecode.com/svn/trunk@308 21eae674-98b7-11dd-bd71-f92a316d2d60
2009-05-29 00:40:45 +00:00
zik.saleeba
a38afda0ab
Limited decimal printing to sane precision.
...
Made C library able to access new math library.
UNIX compile defaults to using new math library.
Changed name of new math library to math.library.c
Added defines for new math library.
Renamed new soft floating point library to softfloat_library.c
git-svn-id: http://picoc.googlecode.com/svn/trunk@304 21eae674-98b7-11dd-bd71-f92a316d2d60
2009-05-29 00:12:12 +00:00
zik.saleeba
83d6b9a6d3
Added a new math library.
...
Fixed printing of floating point 0.0.
git-svn-id: http://picoc.googlecode.com/svn/trunk@294 21eae674-98b7-11dd-bd71-f92a316d2d60
2009-05-27 04:55:44 +00:00
zik.saleeba
20c649d7ef
Added some changes for umon suggested by Ed Sutter
...
git-svn-id: http://picoc.googlecode.com/svn/trunk@275 21eae674-98b7-11dd-bd71-f92a316d2d60
2009-05-05 22:12:59 +00:00
zik.saleeba
bd9cb90e02
Added the beginnings of flying fox platform support.
...
Removed some annoying debug.
Made it easier to compile unmodified on non-UNIX systems.
git-svn-id: http://picoc.googlecode.com/svn/trunk@274 21eae674-98b7-11dd-bd71-f92a316d2d60
2009-05-04 12:02:16 +00:00
zik.saleeba
7c2ce7290a
Fixes for a clean surveyor compile
...
git-svn-id: http://picoc.googlecode.com/svn/trunk@253 21eae674-98b7-11dd-bd71-f92a316d2d60
2009-04-19 01:15:01 +00:00
zik.saleeba
61174fb115
Interactive mode error handling fixed for surveyor.
...
All surveyor warnings fixed.
git-svn-id: http://picoc.googlecode.com/svn/trunk@216 21eae674-98b7-11dd-bd71-f92a316d2d60
2009-04-04 03:11:12 +00:00
zik.saleeba
ccbf149212
Fixed a problem with interactive mode error handling.
...
Will need some extra work for Surveyor... tomorrow.
git-svn-id: http://picoc.googlecode.com/svn/trunk@215 21eae674-98b7-11dd-bd71-f92a316d2d60
2009-03-31 11:08:29 +00:00
surveyor.com
4b8ad0526e
added #include "../gps.h" to SURVEYOR_HOST
...
git-svn-id: http://picoc.googlecode.com/svn/trunk@209 21eae674-98b7-11dd-bd71-f92a316d2d60
2009-03-15 21:26:03 +00:00
zik.saleeba
436b0cafc0
Conditional support for #include for surveyor
...
git-svn-id: http://picoc.googlecode.com/svn/trunk@202 21eae674-98b7-11dd-bd71-f92a316d2d60
2009-03-12 20:44:50 +00:00
zik.saleeba
0523bd570d
String literal array values are now shared and deallocated cleanly
...
git-svn-id: http://picoc.googlecode.com/svn/trunk@197 21eae674-98b7-11dd-bd71-f92a316d2d60
2009-03-11 22:28:42 +00:00
zik.saleeba
08cd7e8328
Changed prompt for surveyor
...
git-svn-id: http://picoc.googlecode.com/svn/trunk@174 21eae674-98b7-11dd-bd71-f92a316d2d60
2009-03-09 00:07:44 +00:00
zik.saleeba
1169e6f909
Prompt changes
...
git-svn-id: http://picoc.googlecode.com/svn/trunk@172 21eae674-98b7-11dd-bd71-f92a316d2d60
2009-03-08 23:03:59 +00:00
zik.saleeba
1c765127ac
Nicer prompt
...
git-svn-id: http://picoc.googlecode.com/svn/trunk@168 21eae674-98b7-11dd-bd71-f92a316d2d60
2009-03-08 04:32:14 +00:00