From: Jaakko J. <ja...@cs...> - 2010-09-07 02:10:12
|
Note: I sent this a few days ago, but for some reason it did not appear on the list. Retrying: Hi Ralph, On Sep 2, 2010, at 7:19 PM, Ralph Thomas wrote: > Nice! It would be pretty cool to use ASL to cook up HTML forms, and > also to use ASL for forms Clutter & Mx. > > An (unrelated but) fun project might be to port Adam to Javascript... > Maybe it would be possible to write the adam rule definitions in JS > and use custom getters for all of the other sheet properties to track > dependencies? Indeed, HTML forms is an important domain to extend to. We are actually working on a Javascript-based Adam(-like) system; we'll be happy to share and make public what we have soon. We (Jaakko Järvi, John Freeman, and a few others at Texas A&M University) have collaborated with Sean and Mat on this Adam-like system---I guess one could say it is a "research version of Adam" (there are some small differences in the details on how the declarative sheet specification is interpreted and solved). A few papers are available on the topic: Algorithms for User Interfaces Jaakko Järvi, Mat Marcus, Sean Parent, John Freeman, and Jacob N. Smith. GPCE '09 Proceedings of the 8th international conference on Generative programming and component engineering, New York, NY, USA, pages 147-156, 2009. ACM http://parasol.cs.tamu.edu/~jarvi/papers/gpce09.pdf Jaakko Järvi, Mat Marcus, Sean Parent, John Freeman, and Jacob N. Smith. Property models: from incidental algorithms to reusable components. In GPCE '08: Proceedings of the 7th international conference on Generative programming and component engineering, New York, NY, USA, pages 89-98, 2008. ACM. http://parasol.cs.tamu.edu/~jarvi/papers/gpce08.pdf While not described in those papers, we have the internals (a constraint solver, dealing with widget enablement, etc.) implemented in Javascript. There is no Eve port (for layout), and the system is still a research prototype. We'll make the source and documentation available soon, but for now, here's a link to our internal prototype (which is still not all executing in the browser): http://parasol.tamu.edu/groups/pttlgroup/property-models/hammer/ It is a research tool, so there is no emphaisis on beauty and smoothness (as will be apparent) and there are some extra things going on (green arrows visualising dependencies between UI elements, etc.) Best, Jaakko |