tools/pas2c.hs
2013-01-26 koda whitespaces and tabs again
2012-11-04 koda pas2c is now fully parametric with command line options (maybe unC0Rr needs to clean this up a little) webgl
2012-11-04 koda pas2c can search for inc files in alternate folders (needed for out of source builds) webgl
2012-11-04 koda pas2c can read files without changing the process directory webgl
2012-11-04 koda pas2C is slowely becoming parametric webgl
2012-11-03 koda let's start to introduce bugs in haskell stuff too webgl
2012-08-09 unc0rr Check if 'for' cycle body is executed at least once
2012-08-07 unc0rr Keep inlining
2012-08-06 unc0rr More mess in pas2c:
2012-07-25 xymeng Changes to pas2c - unreviewed apart from cursory glance and compile test.
2012-07-03 unc0rr - Don't call Length() on variable size arrays
2012-06-29 unc0rr Properly convert taking address of function with var parameters
2012-06-29 unc0rr Don't produce unnecessary and erroneous defines
2012-06-29 xymeng Fix the function definition issue so the function pointer format now looks correct.
2012-06-28 unc0rr Convert function with var parameters declarations into #define + function which accepts pointers
2012-06-27 unc0rr Prepare to handle passing by reference
2012-06-27 unc0rr Remove trailing spaces
2012-06-18 unc0rr Output log to stdout instead of stderr
2012-05-31 unc0rr pas2c stuff
2012-05-28 unc0rr Some improvements to pas2c
2012-05-13 unc0rr '\xd7af' -> 0xd7af
2012-05-12 unc0rr More magic
2012-05-12 unc0rr pas2c stuff again
2012-05-12 unc0rr A solution to char vs string problem: mark single-letter strings with _S macro
2012-05-12 unc0rr Make pas2c even more happier with uGears.c, allow assigning arrays in some cases
2012-05-11 unc0rr Recognize length on arrays as a separate function
2012-05-11 unc0rr Properly track type in ref2CF, this fixes issues with functions returning strings used in expression (like "a" + line())
2012-05-11 unc0rr Support operator 'in', replace it with equality checks against each element of set
2012-05-11 unc0rr Recognize (hwFloat op int) expressions
2012-05-11 unc0rr Convert "unit.function()" properly
2012-05-11 unc0rr Function to compare string to char ftw
2012-05-11 unc0rr Be more wise about constant initialization expressions being not arrays
2012-05-10 unc0rr Fix identifiers case in uLandTemplates (too lazy to make proper implementation in pas2c)
2012-05-10 unc0rr Some work to make more units compile after conversion to c
2012-05-10 unc0rr Support overloaded operators on (hwFloat op hwFloat) calls
2012-05-10 unc0rr Render function variables in struct with no mangling. 13 C units are compilable now.
2012-05-10 unc0rr Handle function type differently
2012-05-10 unc0rr Some more definitions and slight fixes
2012-05-10 unc0rr uAmmos.c now compiles (3 warnings though)
2012-05-10 unc0rr Implement built-in functions Low() and High()
2012-05-09 unc0rr (PointerTo (SimpleType _)) could be a pointer to a non-struct type
2012-05-07 unc0rr Prepend unit name to function identifiers
2012-05-07 unc0rr Mangle overloaded functions (only different number of parameters is supported)
2012-05-04 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)
2012-05-02 unc0rr Render float consts into defines
2012-05-01 unc0rr Better type deriving
2012-05-01 unc0rr Declare const ints as enums
2012-04-30 unc0rr Support recurrent function calls. The code is kinda hackish and ugly, but I really spent a few hours thinking on a good solution.
2012-04-30 unc0rr Rework string init macro
2012-04-24 unc0rr uCommands compiles
2012-04-24 unc0rr Don't add duplicates into string consts
2012-04-21 unc0rr Make pas2c even smarter. Now uIO.c compiles fine, and only 1 warning when compiled with -Wall (clang).
2012-04-20 unc0rr Move all strings into constants to make them of string255 type
2012-04-20 unc0rr Many small improvements to pas2c
2012-04-19 unc0rr Some more progress with pas2c
2012-04-19 unc0rr - Track array size to use for High function
2012-04-14 unc0rr Improve rendering of function types, ranges, and more
2012-04-14 unc0rr Render some builtin functions
2012-04-14 unc0rr Render unions
2012-04-12 unc0rr Support string constants
2012-04-11 unc0rr Support operators declarations
2012-04-10 unc0rr Improve rendering of function types, arrays, and more
2012-04-09 unc0rr First try to compile with clang: improve renderer a bit. The result of pas2c is still far from normal C source.
2012-04-09 unc0rr Better handle switch statement
2012-04-09 unc0rr Better support for strings
2012-04-06 unc0rr Convert some operators
2012-04-05 unc0rr Unwind 'with' construction
2012-04-05 unc0rr Improve rendering into C
2012-04-04 unc0rr Finish the toughest part of the converter. Now it knows types of everything, so could correctly recognize bitwise operators and type convertions.
2012-04-04 unc0rr Normalize RecordFields before conversion. Helps with namespaces problem.
2012-04-03 unc0rr Fix withState' not returning lastType
2012-04-02 unc0rr - Handle multidimensional arrays better
2012-04-02 unc0rr Finally fix the bug with pointer declarations polluting namespace with bad records
2012-03-30 unc0rr More clean namespace, some fixes
2012-03-30 unc0rr Much better types handling, work correctly with functions
2012-03-29 unc0rr - Treat strings as arrays of chars
2012-03-28 unc0rr Better deriving, some fixes
2012-03-28 unc0rr Resolve deferred type on dereference
2012-03-26 unc0rr Dig into namespaces even more
2012-03-26 unc0rr Just some further work
2012-03-25 unc0rr - Apply unit's namespace to current scope when referencing unit name
2012-03-24 unc0rr Fix wrong type returned from id2C
2012-02-10 unc0rr Workaround pointers to not yet defined types
2012-02-08 unc0rr Move a bit further
2012-02-07 unc0rr Fix a bug with type declaration trying to resolve type being declared
2012-02-06 unc0rr Some progress, still can't find the source of bad behavior
2012-02-05 unc0rr Further work on propagating types. Now it hopefully works fully, just need to annotate namespace with types first.
2012-02-03 unc0rr Propagate types on identifiers
2012-01-06 unc0rr Disallow dot as a part of identifier
2011-12-08 unc0rr Some more work on scopes
2011-12-07 unc0rr Format code a bit
2011-12-07 unc0rr Further progress on dealing with namespaces
2011-12-07 unc0rr - Fix type2C id2C call
2011-12-07 unc0rr "System" unit to help converter
2011-12-06 unc0rr Ok, State monad instead
2011-12-06 unc0rr Convert into Reader monad
2011-12-05 unc0rr Start converting into monadic code using Reader monad (will be used to store information about namespace)
2011-12-03 unc0rr Add base type tags to identifiers
2011-12-01 unc0rr - Improve renderer a bit, disallow nested functions
2011-11-29 unc0rr - Improve parsing of prefix operators
2011-11-28 unc0rr More verbose progress log, dump the result
2011-11-27 unc0rr Countless imporvements to the parser and countless help to the parser in sources.
2011-11-27 unc0rr - Improvement to the parser
2011-11-25 unc0rr - Parse unions, sets, function type, packed arrays and some more imporvements to the parser. Now it parses uVariable, uConsts and even SDLh.pas
2011-11-24 unc0rr Improve parser a bit, preparation to parsing whole program at once and compiling it into single C file
2011-11-19 unc0rr Improve parser and converter
2011-11-17 unc0rr - Parse sets initialization
2011-11-13 unc0rr Introduce initialization expressions
2011-11-10 unc0rr Improve parsing of complex references like "a^[b[c], d]"
2011-11-06 unc0rr Even more improvements to the parser and converter
2011-11-05 unc0rr A try to improve parser move (has regressions)
2011-11-04 unc0rr Many improvements to the parser
2011-11-03 unc0rr Better 'else' part
2011-11-03 unc0rr Starting pas2C using library called 'pretty'
less more (0) tip