What is a fast C or Objective-C math parser? [closed] - objective-c

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I've looked around quite a bit for a fast math parser in either C or Objective-C Almost all of the libraries I saw are written in C++, and I don't really want to go through the hassle of getting that to compile. Can anyone make a recommendation?

I haven’t used them myself, but you could try GCMathParser and DDMathParser.

There won't be any hassle with the compiling, ObjC can work side by side with any C++ class. Search for ObjC++ here, its really pretty easy (its basically just renaming everything from *.m to *.mm)

See my ae library (which uses Lua) and libmatheval.

There is a Code Project where this problem was addressed. Note this is for C++ -- sorry just saw that you're looking for C / Objective-C. As it builds a library, you could write a simple interface and expose it to C. There's a really succinct explanation here of how to go about doing this.

Related

tool to help understand project? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I have big project (not mine) in java EE , at first when I looked at it there were many many classes, when I try to understand a method of class there is another class which calls method in it and again and again, It's really hard to understand the code (there is no documentation) is there any tool to help me ?
Unfortunately there aren't really any tools to help with this, the most that you can hope is that someone created a UML Doc for the code you're viewing. However, as this is not the case, the best place to start is at the main method and slowly traverse the setup. I find that it helps to keep notes and diagrams, describing (functionally) what things do and in what order they happen.

Is it possible to find .m files of Foundation framework? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Would be nice to take a look on .m files of Foundation framework. Can I find them somewhere?
I found couple of similar topics here, looks like only Apple have those files, but maybe somebody know. Or maybe there is another way to understand mechanics behind.
Everything that Apple released as open source can be found here. Specifically what's available of Core Foundation is here.
Go to the opensource.apple.com,or you can directly to CoreFunction
No. It's closed source.
You can look at OpenStep source and it may give you an idea of how things might be implemented.
As others note you can look at a lot but not all CF source many implementation details will be similar at least conceptually but not always.
The point though is that you really shouldn't need to see the source implementation to use the libraries.

How can I learn Mirah? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
With Mirah, I am refering to the JVM language: http://www.mirah.org/
The only useful documentation available online are the examples. I understand it says it has a ruby-like syntax, but I do believe there are Mirah-specific quirks to it.
How would I go on identifying the various syntax quirks? Will learning Ruby itself suffice in learning Mirah?
Thanks!
If you know Java pretty well, you can start off by thinking of Mirah as Java with some funny syntax and type inference. You don't need to know Ruby's semantics to use Mirah, because Mirah uses Java's semantics for the most part.
There aren't really any tutorials about learning the language yet because the language is still changing and evolving.
Once you start trying to look at Mirah's internals, you'll want to beef up on your Ruby though, because most of Mirah is currently implemented in Ruby, JRuby in particular. If you have any questions about JRuby, the #jruby IRC channel has helpful people in it-- #mirah works too, but there are fewer regulars at the moment.
No, I don't think that learning Ruby will be sufficient for learning Mirah, although it would probably be sufficient to get started. As I understand it, the syntax is fairly similar but isn't identical - Mirah has optional type annotations and doesn't allow metaprogramming. Still, they're probably sufficiently similar that it would help.
However, the best way to learn any language is just to try something in it - write a little app, and learn as you go.

How can I start learning about objective C? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I would like to start developing an application for Ipad (a simple one).
My doubt is that i heard that is only possible if you have a Mac, and isnt with a PC. Is it true?
Normally i use to develop applications using .Net and Visual Studio, how is the learning curve taking in count this fact?
Do you have any good web reference or tutorials about objective C?
Yes,native Ipad development using XCode requires a Mac.. there is just no getting around that.
Objective C 's syntax is a little weirder than what you will be used to... lots of [] instead of .
but the concepts are going to be pretty much the same. If you have an Ipad, there are lots of free apple docs in the ibook store that you can go though. or if you have joined the developer program, then developer.apple.com has some amazing stuff with downloadable examples.
All the best
It's true that you need a Mac. Objective-C isn't a very complicated language, so factor in maybe a day or two for getting used to Xcode and learning the language. Then it has so far taken me about ten years to get an incomplete understanding of the APIs...but only because there are things I didn't need to use yet :-).
Apple has very good documentation of Objective-C at its website, developer.apple.com.

Lua COM Programming [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Anyone know of any examples that shows COM programming via Lua? Could require a library.
I need to write some external scripts for Photoshop, so wondering if it's possible with Lua.
Have a look at Lua for Windows. It contains LuaCOM. I haven't tried it myself, though.
As gimpf said, take a look at LuaCOM. You can either get it from its official site, which is the latest version (1.4). Unzip it somewhere and take a look at the folder "Demo", which includes examples for:
ADO
Powerpoint
SAPI (Speech API)
WMI
They are more like test cases than examples but you can get the idea.
You can roll your own system using CInvoke and some custom C/C++ code combined with Lua meta-tables.
http://www.nongnu.org/cinvoke/
From experience though I can't recommend this, it is pretty complicated and requires a lot of effort to get it right and make it bulletproof.