So i haven’t been working on Haxer too much lately, mostly because i’ve hit a wall as far how to best convert some AS3 code to Haxe without having to implement a full parser/lexer. The main area i am struggling with is converting “o is Object” and “o as Object” which sounds trivial at first, but when you look at the myriad of possible ways those statements can appear in code, it becomes a much more complex task.
In HaXe, the “is” operator/keyword/whatever it is, is written as “Std.is(obj, type)” and the “as” operator is written as “cast(obj, type)”. This presents quite a challenge when you have lines like this in AS3:
There are other, more complicated examples that make using regular expressions nearly impossible. I am open to a discussion as to how i might be able to implement such a conversion.
Hey There!
This is my new blog where i will be posting information, code and other cool stuff that i come across during my software engineering escapades.
I have a few projects in the works right now which i will blog about in the coming days as things slowly materialize.
My main areas of focus are C#, WPF/Silverlight, LINQ, SQL Server, J2EE, MySQL, ASP.NET and AJAX. One of my projects is a very ambitious cross-browser, cross-platform personal data aggregator and indexer. It will be comprised of a desktop application for Windows, Mac OS X and Linux, and Web site. One of the main challenges of this project will be figuring out the best language/platform that will offer the most code reusability but not limit the functionality or asthetics.
I am planning to use WPF for the desktop app on Windows, and i’ve recently discovered a XAML implementation for Java that integrates into the Eclipse IDE that works on Mac OS X and Linux, which looks like it will help with porting the UI to those platforms even if it means having to re-write the logic behind it…
I guess thats enough for a first post. As my thoughts on these projects form some kind of jelly like consistency, i will post more information, as well any other cool stuff i find along the way.

Categories
Tag Cloud
Blog RSS
Comments RSS

Void « Default
Life
Earth
Wind
Water
Fire
Light 