Home My Page Projects Code Snippets Project Openings 3D graphics for Standard ML
Summary Activity SCM

SCM Repository

[sml3d] Log of /trunk/sml3d/src/particles/compiler/translate.sml
[sml3d] / trunk / sml3d / src / particles / compiler / translate.sml  
ViewVC logotype

Log of /trunk/sml3d/src/particles/compiler/translate.sml

Parent Directory Parent Directory


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

Revision 867 - (view) (download) (annotate) - [select for diffs]
Modified Thu Apr 29 21:06:21 2010 UTC (10 years, 3 months ago) by pavelk
File length: 26858 byte(s)
Diff to previous 866
Added a newline to our program output so that it looks a lot neater... Also, there was a bug with the way we were handling predicate combinators. We need to save off the continuation, and then handle the then/else statements separately, and finally come together in the end. This way we can prevent code from blowing up unnecessarily.

Revision 866 - (view) (download) (annotate) - [select for diffs]
Modified Thu Apr 29 20:16:27 2010 UTC (10 years, 3 months ago) by pavelk
File length: 26636 byte(s)
Diff to previous 864
IR translation now returns a program datatype, which has the emitter block separated from the physics block, and also keeps track of the rendering operation requested. Also, added property fields for variables and blocks in order to track for UVE.

Revision 864 - (view) (download) (annotate) - [select for diffs]
Modified Wed Apr 28 17:21:18 2010 UTC (10 years, 3 months ago) by pavelk
File length: 26469 byte(s)
Diff to previous 863
Updated work on UVE. It now works the way I intended it to, although I think I may need to revisit my intentions.

Revision 863 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 27 23:09:18 2010 UTC (10 years, 3 months ago) by pavelk
File length: 26513 byte(s)
Diff to previous 862
UVE: work in progress...

Revision 862 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 27 01:27:39 2010 UTC (10 years, 3 months ago) by pavelk
File length: 26092 byte(s)
Diff to previous 770
Changed optimizations to run until they leave the program unchanged. Fleshed out UVE only to realize that I did it wrong, needs to be rethought. Fleshed out constant folding code, works pretty well.

Revision 770 - (view) (download) (annotate) - [select for diffs]
Modified Mon Feb 22 00:17:15 2010 UTC (10 years, 5 months ago) by pavelk
File length: 26086 byte(s)
Diff to previous 769
Restructured some of the particles code to better fit the idea that we have for how it's supposed to work. Also, I moved the runtime code for the old psys into the new runtime module. Our example doesn't work properly anymore, since the old particle action system doesn't have a mechanism for specifying branches, so the particles never die.

Revision 769 - (view) (download) (annotate) - [select for diffs]
Modified Mon Feb 15 22:52:36 2010 UTC (10 years, 6 months ago) by pavelk
File length: 25234 byte(s)
Diff to previous 758
Changed the way we define actions to be a list of combinators. This way we have support for if-then-else statements at a higher level and rendering operations (should we need them).

Revision 758 - (view) (download) (annotate) - [select for diffs]
Modified Tue Feb 9 04:46:06 2010 UTC (10 years, 6 months ago) by pavelk
File length: 24396 byte(s)
Diff to previous 750
Optimized translation of SINK to avoid a branch. Changed reference counting in optimizer to go from top down rather than from the bottom up.

Revision 750 - (view) (download) (annotate) - [select for diffs]
Modified Tue Feb 2 16:12:23 2010 UTC (10 years, 6 months ago) by jhr
File length: 24433 byte(s)
Diff to previous 747
  Added some comments

Revision 747 - (view) (download) (annotate) - [select for diffs]
Modified Tue Feb 2 06:07:28 2010 UTC (10 years, 6 months ago) by pavelk
File length: 24347 byte(s)
Diff to previous 746
Implemented some simple optimizations: removing unused variables and constant folding. Also, realized that there's no need for the CONST stmt, since variables are either constants by construction or they get optimized into such.

Revision 746 - (view) (download) (annotate) - [select for diffs]
Added Mon Feb 1 04:51:45 2010 UTC (10 years, 6 months ago) by pavelk
File length: 24303 byte(s)
Moved syntax, type, and definitions checker into its own module, and they work over the whole program, not when the statements get created.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0