tools/pas2c.hs
Sat, 12 May 2012 22:44:39 +0400 unc0rr A solution to char vs string problem: mark single-letter strings with _S macro
Sat, 12 May 2012 22:13:56 +0400 unc0rr Make pas2c even more happier with uGears.c, allow assigning arrays in some cases
Fri, 11 May 2012 23:34:35 +0400 unc0rr Recognize length on arrays as a separate function
Fri, 11 May 2012 23:03:28 +0400 unc0rr Properly track type in ref2CF, this fixes issues with functions returning strings used in expression (like "a" + line())
Fri, 11 May 2012 22:35:09 +0400 unc0rr Support operator 'in', replace it with equality checks against each element of set
Fri, 11 May 2012 22:17:39 +0400 unc0rr Recognize (hwFloat op int) expressions
Fri, 11 May 2012 22:09:34 +0400 unc0rr Convert "unit.function()" properly
Fri, 11 May 2012 21:10:58 +0400 unc0rr Function to compare string to char ftw
Fri, 11 May 2012 19:33:21 +0400 unc0rr Be more wise about constant initialization expressions being not arrays
Fri, 11 May 2012 01:01:29 +0400 unc0rr Fix identifiers case in uLandTemplates (too lazy to make proper implementation in pas2c)
Fri, 11 May 2012 00:28:06 +0400 unc0rr Some work to make more units compile after conversion to c
Thu, 10 May 2012 23:51:05 +0400 unc0rr Support overloaded operators on (hwFloat op hwFloat) calls
Thu, 10 May 2012 13:45:47 +0400 unc0rr Render function variables in struct with no mangling. 13 C units are compilable now.
Thu, 10 May 2012 13:41:18 +0400 unc0rr Handle function type differently
Thu, 10 May 2012 13:16:31 +0400 unc0rr Some more definitions and slight fixes
Thu, 10 May 2012 11:29:18 +0400 unc0rr uAmmos.c now compiles (3 warnings though)
Thu, 10 May 2012 11:12:06 +0400 unc0rr Implement built-in functions Low() and High()
Thu, 10 May 2012 00:58:05 +0400 unc0rr (PointerTo (SimpleType _)) could be a pointer to a non-struct type
Tue, 08 May 2012 00:17:02 +0400 unc0rr Prepend unit name to function identifiers
Mon, 07 May 2012 23:48:24 +0400 unc0rr Mangle overloaded functions (only different number of parameters is supported)
Sat, 05 May 2012 00:01:12 +0400 unc0rr Convert namespace from list into map in preparation for implementation of overloaded functions support. Greatly improve speed of rendering as a side effect (parse + render time reduced from 5:20 to 0:20)
Wed, 02 May 2012 22:51:42 +0400 unc0rr Render float consts into defines
Tue, 01 May 2012 20:54:02 +0400 unc0rr Better type deriving
Tue, 01 May 2012 19:29:47 +0400 unc0rr Declare const ints as enums
Mon, 30 Apr 2012 23:35:40 +0400 unc0rr Support recurrent function calls. The code is kinda hackish and ugly, but I really spent a few hours thinking on a good solution.
Mon, 30 Apr 2012 17:43:21 +0400 unc0rr Rework string init macro
Tue, 24 Apr 2012 23:33:39 +0400 unc0rr uCommands compiles
Tue, 24 Apr 2012 16:11:07 +0400 unc0rr Don't add duplicates into string consts
Sat, 21 Apr 2012 20:12:22 +0400 unc0rr Make pas2c even smarter. Now uIO.c compiles fine, and only 1 warning when compiled with -Wall (clang).
Fri, 20 Apr 2012 22:56:56 +0400 unc0rr Move all strings into constants to make them of string255 type
Fri, 20 Apr 2012 22:03:35 +0400 unc0rr Many small improvements to pas2c
Fri, 20 Apr 2012 01:50:47 +0400 unc0rr Some more progress with pas2c
Thu, 19 Apr 2012 23:36:20 +0400 unc0rr - Track array size to use for High function
Sun, 15 Apr 2012 00:47:22 +0400 unc0rr Improve rendering of function types, ranges, and more
Sat, 14 Apr 2012 22:40:23 +0400 unc0rr Render some builtin functions
Sat, 14 Apr 2012 22:24:09 +0400 unc0rr Render unions
Fri, 13 Apr 2012 00:08:46 +0400 unc0rr Support string constants
Wed, 11 Apr 2012 22:47:21 +0400 unc0rr Support operators declarations
Wed, 11 Apr 2012 01:04:58 +0400 unc0rr Improve rendering of function types, arrays, and more
Mon, 09 Apr 2012 23:55:12 +0400 unc0rr First try to compile with clang: improve renderer a bit. The result of pas2c is still far from normal C source.
Mon, 09 Apr 2012 23:36:23 +0400 unc0rr Better handle switch statement
Mon, 09 Apr 2012 22:01:13 +0400 unc0rr Better support for strings
Fri, 06 Apr 2012 16:59:32 +0400 unc0rr Convert some operators
Thu, 05 Apr 2012 17:52:27 +0400 unc0rr Unwind 'with' construction
Thu, 05 Apr 2012 14:58:34 +0400 unc0rr Improve rendering into C
Wed, 04 Apr 2012 18:00:46 +0400 unc0rr Finish the toughest part of the converter. Now it knows types of everything, so could correctly recognize bitwise operators and type convertions.
Wed, 04 Apr 2012 15:05:14 +0400 unc0rr Normalize RecordFields before conversion. Helps with namespaces problem.
Tue, 03 Apr 2012 17:53:33 +0400 unc0rr Fix withState' not returning lastType
Mon, 02 Apr 2012 17:28:18 +0400 unc0rr - Handle multidimensional arrays better
Mon, 02 Apr 2012 16:14:29 +0400 unc0rr Finally fix the bug with pointer declarations polluting namespace with bad records
Fri, 30 Mar 2012 23:58:08 +0400 unc0rr More clean namespace, some fixes
Fri, 30 Mar 2012 17:00:34 +0400 unc0rr Much better types handling, work correctly with functions
Thu, 29 Mar 2012 17:27:01 +0400 unc0rr - Treat strings as arrays of chars
Thu, 29 Mar 2012 01:01:29 +0400 unc0rr Better deriving, some fixes
Wed, 28 Mar 2012 23:53:45 +0400 unc0rr Resolve deferred type on dereference
Mon, 26 Mar 2012 23:54:12 +0400 unc0rr Dig into namespaces even more
Mon, 26 Mar 2012 17:56:15 +0400 unc0rr Just some further work
Sun, 25 Mar 2012 23:10:29 +0400 unc0rr - Apply unit's namespace to current scope when referencing unit name
Sat, 24 Mar 2012 21:19:50 +0400 unc0rr Fix wrong type returned from id2C
Fri, 10 Feb 2012 17:18:49 +0400 unc0rr Workaround pointers to not yet defined types
Wed, 08 Feb 2012 15:49:55 +0400 unc0rr Move a bit further
Tue, 07 Feb 2012 22:18:44 +0400 unc0rr Fix a bug with type declaration trying to resolve type being declared
Mon, 06 Feb 2012 23:17:45 +0400 unc0rr Some progress, still can't find the source of bad behavior
Sun, 05 Feb 2012 23:24:43 +0400 unc0rr Further work on propagating types. Now it hopefully works fully, just need to annotate namespace with types first.
Fri, 03 Feb 2012 14:21:07 +0400 unc0rr Propagate types on identifiers
Sat, 07 Jan 2012 00:10:47 +0400 unc0rr Disallow dot as a part of identifier
Thu, 08 Dec 2011 14:44:10 +0400 unc0rr Some more work on scopes
Wed, 07 Dec 2011 23:04:57 +0300 unc0rr Format code a bit
Wed, 07 Dec 2011 22:54:39 +0300 unc0rr Further progress on dealing with namespaces
Wed, 07 Dec 2011 17:55:23 +0400 unc0rr - Fix type2C id2C call
Wed, 07 Dec 2011 08:01:18 +0300 unc0rr "System" unit to help converter
Tue, 06 Dec 2011 22:05:59 +0300 unc0rr Ok, State monad instead
Tue, 06 Dec 2011 17:59:10 +0400 unc0rr Convert into Reader monad
Mon, 05 Dec 2011 17:56:49 +0400 unc0rr Start converting into monadic code using Reader monad (will be used to store information about namespace)
Sat, 03 Dec 2011 22:21:23 +0300 unc0rr Add base type tags to identifiers
Thu, 01 Dec 2011 18:02:27 +0400 unc0rr - Improve renderer a bit, disallow nested functions
Tue, 29 Nov 2011 17:42:42 +0400 unc0rr - Improve parsing of prefix operators
Mon, 28 Nov 2011 17:57:25 +0400 unc0rr More verbose progress log, dump the result
Sun, 27 Nov 2011 23:13:22 +0300 unc0rr Countless imporvements to the parser and countless help to the parser in sources.
Sun, 27 Nov 2011 14:46:57 +0300 unc0rr - Improvement to the parser
Fri, 25 Nov 2011 18:36:12 +0300 unc0rr - Parse unions, sets, function type, packed arrays and some more imporvements to the parser. Now it parses uVariable, uConsts and even SDLh.pas
Thu, 24 Nov 2011 20:59:13 +0300 unc0rr Improve parser a bit, preparation to parsing whole program at once and compiling it into single C file
Sat, 19 Nov 2011 22:38:31 +0300 unc0rr Improve parser and converter
Thu, 17 Nov 2011 17:57:45 +0400 unc0rr - Parse sets initialization
Sun, 13 Nov 2011 13:46:26 +0300 unc0rr Introduce initialization expressions
Thu, 10 Nov 2011 23:14:40 +0300 unc0rr Improve parsing of complex references like "a^[b[c], d]"
Sun, 06 Nov 2011 23:36:02 +0300 unc0rr Even more improvements to the parser and converter
Sat, 05 Nov 2011 09:37:17 +0300 unc0rr A try to improve parser move (has regressions)
Fri, 04 Nov 2011 14:10:27 +0300 unc0rr Many improvements to the parser
Thu, 03 Nov 2011 23:16:26 +0300 unc0rr Better 'else' part
Thu, 03 Nov 2011 23:12:22 +0300 unc0rr Starting pas2C using library called 'pretty'
less more (0) tip