[ALOY-318] Abstract out "optimizers" for compile command
GitHub Issue | n/a |
---|---|
Type | Story |
Priority | Medium |
Status | Resolved |
Resolution | Fixed |
Resolution Date | 2012-10-08T16:11:36.000+0000 |
Affected Version/s | n/a |
Fix Version/s | 2012 Sprint 20, Release 3.0.0 |
Components | XML |
Labels | n/a |
Reporter | Tony Lukasavage |
Assignee | Unknown |
Created | 2012-10-04T21:08:11.000+0000 |
Updated | 2018-03-07T22:25:36.000+0000 |
Description
Much like the the "parsers" for the compile command, we should modularize the "optimizers". Right now, the requires.js file is doing muh more than fixing require paths. We should be separating the processing into easy-to-understand chunks, since the AST parsing is confusing enough as it is.
Off the top of my head, we could break out
* defines and basic AST operations
* requires
* builtins
* widgets (check for platform)
No comments