Commit graph

17 commits

Author SHA1 Message Date
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 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 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 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 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 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 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
Renamed from platform_unix.c (Browse further)