Commit graph

32 commits

Author SHA1 Message Date
Joseph Poirier 463f086a33 changes after simple analysis, added FIXMEs 2015-06-14 02:08:10 -05:00
Joseph Poirier 145ca1a3a8 Fix: merged from https://github.com/zsaleeba/picoc/pulls?q=is%3Aopen+is%3Apr 2015-06-13 15:49:34 -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 a755ebfbe6 proper debug func prototypes, remove DEBUGGER compile switch double negative :/ 2015-06-07 21:12:20 -05:00
Joseph Poirier 820a026d90 remove unused platform src files 2015-06-07 20:26:57 -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 c5384cb514 formatting 2015-06-06 23:51:02 -05:00
zik.saleeba ed54c51916 Fixed a problem with PlatformGetLine() which was causing a buffer overrun.
With thanks to mark@heilpern.com.
Issue #581.


git-svn-id: http://picoc.googlecode.com/svn/trunk@602 21eae674-98b7-11dd-bd71-f92a316d2d60
2013-10-14 23:38:00 +00:00
zik.saleeba 519e33c040 Patch submitted by kevingarceau
Issue #176


git-svn-id: http://picoc.googlecode.com/svn/trunk@588 21eae674-98b7-11dd-bd71-f92a316d2d60
2013-02-23 23:16:34 +00:00
zik.saleeba 44dee0da92 MSVC library implementation submitted by kevingarceau.
Issue #175


git-svn-id: http://picoc.googlecode.com/svn/trunk@587 21eae674-98b7-11dd-bd71-f92a316d2d60
2013-02-23 23:12:47 +00:00
zik.saleeba 3350152693 Patch for msvc submitted by kevingarceau
Issue #174


git-svn-id: http://picoc.googlecode.com/svn/trunk@586 21eae674-98b7-11dd-bd71-f92a316d2d60
2013-02-23 23:09:32 +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 0789a4c719 Added Nikolaus Klepp's shebang patch
git-svn-id: http://picoc.googlecode.com/svn/trunk@574 21eae674-98b7-11dd-bd71-f92a316d2d60
2012-08-28 10:26:12 +00:00
zik.saleeba f37ea8c96d Now treating a line starting with #! at the start of a picoc file as a
comment line so we can execute it as a shell script.


git-svn-id: http://picoc.googlecode.com/svn/trunk@573 21eae674-98b7-11dd-bd71-f92a316d2d60
2012-05-31 05:59:34 +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 0bb912af5d Surveyor changes from Brian Schmalz
git-svn-id: http://picoc.googlecode.com/svn/trunk@564 21eae674-98b7-11dd-bd71-f92a316d2d60
2011-02-22 19:28:08 +00:00
zik.saleeba 57766aa28f Changes from Brian Schmalz to bring the surveyor platform back to a working state after I broke everything :)
git-svn-id: http://picoc.googlecode.com/svn/trunk@556 21eae674-98b7-11dd-bd71-f92a316d2d60
2011-02-18 22:59:12 +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 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 704238f926 Fixed references to LibraryInit
git-svn-id: http://picoc.googlecode.com/svn/trunk@539 21eae674-98b7-11dd-bd71-f92a316d2d60
2011-02-15 22:35:13 +00:00
zik.saleeba 88cf377659 Changes for a clean compile on the SRV
git-svn-id: http://picoc.googlecode.com/svn/trunk@537 21eae674-98b7-11dd-bd71-f92a316d2d60
2011-02-15 21:06:47 +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 1301fe7a8f More intelligent allocation/deallocation of parser data. It should now be possible to report error messages from previously-parsed files.
git-svn-id: http://picoc.googlecode.com/svn/trunk@480 21eae674-98b7-11dd-bd71-f92a316d2d60
2010-07-27 18:16:05 +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 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 fcb9255ba9 Added stdbool.h module and removed old TRUE and FALSE defs which are not standard C
git-svn-id: http://picoc.googlecode.com/svn/trunk@451 21eae674-98b7-11dd-bd71-f92a316d2d60
2010-07-03 14:26:04 +00:00
zik.saleeba 985e6c960f Platform libraries now require explicit #includes
git-svn-id: http://picoc.googlecode.com/svn/trunk@440 21eae674-98b7-11dd-bd71-f92a316d2d60
2010-06-13 20:47:17 +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 0fc32f5bc7 A bit of a reorganisation to make adding new platforms and
C standard library modules neater.


git-svn-id: http://picoc.googlecode.com/svn/trunk@427 21eae674-98b7-11dd-bd71-f92a316d2d60
2010-06-13 09:17:42 +00:00