Commit graph

  • 16a1872035 Now allocating heap using malloc() on UNIX zik.saleeba 2010-06-13 11:31:19 +0000
  • 7dc3e2e00c Now implements all old math.h functions zik.saleeba 2010-06-13 11:26:29 +0000
  • 36069a5a2f First version of standard math.h handling added zik.saleeba 2010-06-13 11:05:24 +0000
  • c6bb792b50 Now includes scanf() and friends. zik.saleeba 2010-06-13 10:40:39 +0000
  • 0fc32f5bc7 A bit of a reorganisation to make adding new platforms and C standard library modules neater. zik.saleeba 2010-06-13 09:17:42 +0000
  • 5fdce80407 printf() and sprintf() now work zik.saleeba 2010-06-12 12:45:18 +0000
  • 073769ab2e Now with added sprintf() wonderfulness zik.saleeba 2010-06-11 20:47:03 +0000
  • 40e338b823 Added printf() and variants to stdio zik.saleeba 2010-06-11 17:12:49 +0000
  • 8bd5cfa054 Added a pile of functions to stdio zik.saleeba 2010-06-08 17:12:20 +0000
  • 8ca43880c9 Added EOF to stdio. Tested stdio functions so far. zik.saleeba 2010-06-06 17:31:12 +0000
  • a21f1d8a70 Implemented typedef zik.saleeba 2010-06-06 17:03:15 +0000
  • a591133f35 Added support for #include of predefined libraries. Created a stdio.h predefined library. zik.saleeba 2010-06-05 19:00:46 +0000
  • fa3e9a1187 Fixed a bug in multiple dimension array access (issue #80) Added a test for this zik.saleeba 2010-06-05 12:58:37 +0000
  • 54ad31d6d3 Fixed a problem with lexing very large hex constants as reported by Sen Chang in issue #78. zik.saleeba 2010-06-02 19:31:51 +0000
  • f5dc81754c Updated README information zik.saleeba 2010-03-02 20:14:54 +0000
  • fb4018266d Fixed CR/LFs zik.saleeba 2010-03-02 20:12:37 +0000
  • 60323df590 Fix for UltraSPARC64 alignment zik.saleeba 2010-03-02 19:58:08 +0000
  • ea10e1a369 Added function prototypes as requested in issue #74 zik.saleeba 2010-03-01 20:39:08 +0000
  • cd4bea4903 Fixed problems with struct references in functions zik.saleeba 2010-02-28 14:16:21 +0000
  • f596c5aea4 Fixed pre-decrement and pre-increment zik.saleeba 2010-02-28 13:52:11 +0000
  • 57ce5fd4c6 Fixed a problem with accidentally running the first case in a switch when running in skip mode. Bug report #71 zik.saleeba 2010-02-25 21:25:05 +0000
  • a4f2345811 Fix for bug #73 - printing zero with field width was incorrect zik.saleeba 2010-02-25 20:10:51 +0000
  • 441f8b4073 Added example functions lineno() and errorprintf() zik.saleeba 2010-02-03 20:01:01 +0000
  • 8f9095b3a4 Fix for issue #67 - shared array problem zik.saleeba 2010-01-03 17:45:35 +0000
  • 3f113f1f16 Did I remove this by accident? zik.saleeba 2009-11-22 11:40:46 +0000
  • fc348214c9 Stricter handling of semicolons at the end of statements. zik.saleeba 2009-11-22 11:36:15 +0000
  • 5e6ddfa7ff Fixed a bug which was causing sprintf() to crash. Added a test for it. Issue #66 zik.saleeba 2009-11-14 11:11:38 +0000
  • 84d2c663e8 Added some platform changes for uMon zik.saleeba 2009-11-11 19:41:01 +0000
  • 1d32e04c48 Fixed a problem with parsing array initialisers when not in RunModeRun. zik.saleeba 2009-11-11 19:30:18 +0000
  • d09e156558 Fixes for Surveyor SRV-1 platform zik.saleeba 2009-11-08 19:23:50 +0000
  • 83ded6eb54 Added missing test zik.saleeba 2009-11-08 16:38:42 +0000
  • a648f2cf27 Array initialisers are now implemented - enhancement issue #42 zik.saleeba 2009-11-08 16:33:31 +0000
  • d5e7a536f1 Now uses the system maths library by default zik.saleeba 2009-11-08 11:51:24 +0000
  • 5a4161261e Now using our own versions of string functions so we're not relying on the system to provide them for us. zik.saleeba 2009-11-08 11:41:00 +0000
  • fcc6fd6846 Fixed printing of longs zik.saleeba 2009-11-07 21:12:12 +0000
  • c3dcac1812 Added long and unsigned long data types zik.saleeba 2009-11-07 21:05:15 +0000
  • 47f6ef6831 Test for sizeof added zik.saleeba 2009-11-07 20:25:31 +0000
  • 97ad53a6b2 Fixed a problem with sizeof(explicit type) not working. Also fixed a problem with parsing some types in expressions. Issue #39 zik.saleeba 2009-11-07 20:22:11 +0000
  • 09b2af4d16 Added SPARC endian checks zik.saleeba 2009-11-07 18:49:52 +0000
  • b737bb5973 Minor endian fix zik.saleeba 2009-11-07 18:42:20 +0000
  • 26c543f326 Automatic endian detection for known architectures zik.saleeba 2009-11-07 18:39:35 +0000
  • b777be13be Fixed the HPPA floating point problem zik.saleeba 2009-11-07 17:47:25 +0000
  • e077cc9d49 Fixed UltraSPARC II bus error. Probably a compiler bug? Issue #65 zik.saleeba 2009-11-07 15:17:53 +0000
  • 3377c3b568 Some alignment neatening zik.saleeba 2009-11-07 13:48:42 +0000
  • 31bfd34e9e Now works for Opteron 64-bit zik.saleeba 2009-11-07 13:44:08 +0000
  • 064c64d202 More work on 64 bit support zik.saleeba 2009-11-06 22:34:12 +0000
  • 9ea0dcee28 Varius fixes for 64 bit architectures zik.saleeba 2009-11-06 22:16:12 +0000
  • d36833b139 Fixed some warnings for 64 bit architectures zik.saleeba 2009-11-06 18:17:36 +0000
  • 20769e6ee0 Still tinkering with allocation zik.saleeba 2009-11-06 18:15:59 +0000
  • 3162c1a2bf Twiddling with allocation for 64-bit architectures zik.saleeba 2009-11-06 18:08:11 +0000
  • 5c86cfaf36 Problems with prefix operators of the same precedence as a cast immediately following the cast fixed. Issue #55 zik.saleeba 2009-11-06 16:35:34 +0000
  • aea16db269 Made strcmp() results more consistent for testing zik.saleeba 2009-11-04 20:45:32 +0000
  • d2718f62c5 Removed unnecessary guff zik.saleeba 2009-11-04 20:21:10 +0000
  • 11cf64cc5b Added test for array assignment zik.saleeba 2009-11-04 02:04:47 +0000
  • e75518e139 Changed the way that arrays are represented to a simpler one without the extra level of indirection. Fixed various array-related problems, including array assignment which is issue #49. zik.saleeba 2009-11-04 02:02:37 +0000
  • 7c1bca8f41 Fix for comment incompatibility zik.saleeba 2009-11-04 01:19:10 +0000
  • 2e07f89194 Possible fix for big-endian bug zik.saleeba 2009-11-03 20:40:35 +0000
  • 274f21fdbc Removed "unsigned char" - now all chars are unsigned again. zik.saleeba 2009-11-01 21:16:19 +0000
  • f1aeadb077 Removed redundant "struct ArrayValue" zik.saleeba 2009-11-01 21:10:48 +0000
  • 18acb6dc1a Removed old pointer system. Now it's "native pointers" all the way. zik.saleeba 2009-11-01 21:02:31 +0000
  • e44aca659f Fixed problem with using array index operator on pointers. Issue #61. zik.saleeba 2009-11-01 20:49:23 +0000
  • be2ba2cb5f Check for function not returning a vlue when it should zik.saleeba 2009-11-01 16:52:10 +0000
  • c920ea1771 Problems with "return" fixed. Issue #50 zik.saleeba 2009-10-31 17:08:21 +0000
  • 2493d1ff01 resync to SURVEYOR_HOST changes surveyor.com 2009-10-31 14:39:43 +0000
  • 425c86d365 Debug removed zik.saleeba 2009-10-31 14:22:35 +0000
  • ed26e6716b Fixed an annoying problem with entering functions interactively. Includes a heap of debug. zik.saleeba 2009-10-31 14:18:46 +0000
  • 03cf6dcc90 Removed free()-like function of delete(). zik.saleeba 2009-10-31 14:17:45 +0000
  • 24ec7290ee Removed incorrect header zik.saleeba 2009-10-31 14:15:57 +0000
  • 0df1958dfc Fix for NO_FP problem found by Ed. zik.saleeba 2009-10-30 19:41:32 +0000
  • 0872369ead Fixed test for correct floating point display zik.saleeba 2009-10-30 12:35:37 +0000
  • 8f6530b876 Updated tests with correct floating point printing zik.saleeba 2009-10-30 12:34:07 +0000
  • b7eb4bee92 Fixed a couple of problems with floating point number printing. Numbers outside the range 0 - 1e7 wouldn't print correct values. zik.saleeba 2009-10-29 21:43:36 +0000
  • 172e6e5e8b Fixed problem with negative exponents in floating point constants (issue #62) zik.saleeba 2009-10-29 19:26:47 +0000
  • 7560c29942 Added test for defect #60 zik.saleeba 2009-10-28 21:35:35 +0000
  • 50b45890bc Fixed array indexing issue. Fixed problem in index() and rindex() NULL pointer returns. Nicer handling of printing NULL pointers. New test suite for strings. zik.saleeba 2009-10-28 21:34:51 +0000
  • 66f40f6310 Fixed issue #60 - addresses of array indexes not working correctly. zik.saleeba 2009-10-28 20:55:51 +0000
  • 7a407782bb Fixed a problem with indexing arrays of char. zik.saleeba 2009-10-28 20:36:16 +0000
  • b0c74d8c00 Fixed a bug in pointer coercion which was breaking string functions. zik.saleeba 2009-10-26 20:00:01 +0000
  • 1239d6d8a8 Added some more string functions zik.saleeba 2009-10-25 21:12:06 +0000
  • e577555218 Added string and memory functions to the C library. zik.saleeba 2009-10-25 21:04:03 +0000
  • ffd045f26f Fixed a bug with defining void pointers. zik.saleeba 2009-10-25 20:54:14 +0000
  • 24a601271a malloc() and free() implemented. zik.saleeba 2009-10-25 20:50:56 +0000
  • c6d483ee6f Unsigned types now exist. They're probably not handled quite correctly in expressions yet though. zik.saleeba 2009-10-25 11:54:34 +0000
  • 8c7434424d Native pointers no longer carry their size with them. zik.saleeba 2009-10-23 19:01:32 +0000
  • 968fc12e69 Now printing '\n' on the srv-1 will send "\r\n" so it behaves as expected rather than having to explicitly send '\r'. zik.saleeba 2009-10-22 20:14:47 +0000
  • d5811d37d5 printf() now supports field widths, zero-padding and left/right justification. zik.saleeba 2009-10-22 20:08:43 +0000
  • 0d83e26880 Correct alignment of structure members zik.saleeba 2009-10-11 18:55:16 +0000
  • 196331d6ba 'short' data type added zik.saleeba 2009-10-11 11:09:07 +0000
  • bb718dcf21 Turning on NATIVE_POINTERS by default. Fixed a minor warning in pointer assignment. zik.saleeba 2009-10-10 18:06:17 +0000
  • 8e735ef68f First cut of casts completed but not debugged zik.saleeba 2009-10-10 17:59:55 +0000
  • 7d135bbdd5 Doing some work on casts and sizeof zik.saleeba 2009-10-10 14:49:49 +0000
  • fcab11f844 Made both Val and Op co-exist in the ExpressionStack. Some preliminary work for casts. zik.saleeba 2009-10-04 16:22:19 +0000
  • 5785884764 Removed soft floating point library. Decided not to do this after all. zik.saleeba 2009-10-04 14:53:31 +0000
  • a739b40b2c Fixed quicksort test Fixed math library test zik.saleeba 2009-06-17 10:39:32 +0000
  • 902aac9a94 Added support for '%x', '%u' and '%b' in printf formatting zik.saleeba 2009-06-15 15:08:05 +0000
  • 93713ed830 Removed asinh(), acosh(), atanh() as unnecessary. Added exit(). zik.saleeba 2009-06-15 14:33:21 +0000
  • 32727cc365 Native pointers feature added zik.saleeba 2009-06-05 00:55:54 +0000
  • 3a1e39f9d3 New fancy error reporting feature makes nice error messages zik.saleeba 2009-06-04 07:41:06 +0000
  • 2a69c48777 Fixed a bug in parsing "while ()" and "do..while()". I tried to be too clever. Bad idea. zik.saleeba 2009-06-04 00:18:28 +0000
  • 390ff153a1 printf() now handles various formats of strings zik.saleeba 2009-06-03 08:40:30 +0000