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