forum > Where is "org.ianliu.Fog?"
Mike Robinson Dec 03 at 22:54
I am looking at the Haxe Calculator project and I see a reference to org.ianliu.Fog but this project is not present and I don't know where to find it. (There is a UIFog module in the project but of course it's not the same thing.
Is the calculator project ... simply ... incomplete, and un-buildable?!
(Which of course begs the question that, "if so, why is it on Google Code?" Surely not ...)
Mike Robinson Dec 03 at 22:58
P.S. Looking at "http:code.google.com/u/ian.liu88/" produces only a few empty Mercurial repositories.
Did this guy, like, graduate?
Justin L Mills Dec 05 at 19:37
I found UIFog here?? Er not tried building it but let me know if this is what you couldn't find and if works now.
Mike Robinson Jan 20 at 00:49
Try, and you will find that it doesn't.
Justin L Mills Jan 21 at 14:12
Mike he seems to have a googleplus account so you could try contacting him directly, it uses screenweaver so I presume the project is fairly old. I would expect creating a new view would be easiest approach and not hard.
Looking at the code base it seems that the class that does the work is Parse.hx, you probably also need ParseError.hx, so maybe start with creating a simple calculator and try using this class to parse the results, I think the method names are in Brazilian ( Spanish? ) but fairly obvious what they do.
So I suspect you can just do something like.
var calculation = new Parse( '(3x6)/10' ); trace( calculation.result );
But you will have to experiment, let me know how you get on.
Mike Robinson Feb 02 at 21:28
Well, it finally dawned on me that all I really wanted was a simple four-banger calculator, so I finally sat down one afternoon and wrote one from scratch by dinnertime. For JS target, as it turned out.