As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Python has IPython.. does OCaml have anything similar?
I'd very much like to have command history, although other features would be nice too. I've read that I could get command history by running it in Emacs, but I don't use Emacs..
rlwrap gives you readline features (history, editing commands, etc). Also, Findlib adds some functionality, see the quickstart for examples.
There's utop! It has autocompletion, is emacs compatible and so on.
Use ledit ocaml with ledit.
You can also use the online toplevel.
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
Let's say I have a C++ function that prints "Hello", how can I embed the function so I can use it in Python code? I've read the Python documentation for Extending but i really didn't understand that documentation.
Help please ;<
Check out Boost Python. You can compile a library that you can include in your python script. Then from there you could call that C++ function.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am not familiar with OCamlgraph library? I am not able to find any good documentation for the same? I am not able to run any small examples also. I want to find all cycles in graph for that I am using it.
Anyone aware of any documentation? Or a set of examples for the same?
There is the paper on ocamlgraph:
http://www.lri.fr/~filliatr/ftp/publis/ocamlgraph.ps
And aside from the examples on the ocamlgraph homepage, there is a more compact code example here:
How to visualize/draw automata in ocaml?
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I've read the source code of a few popular open source projects like apache, nginx...
All of them are written in C, is there one written in C++?
It should be run-able program, not framework...
KDE
and up, to 30 characters and beyond.
Mozilla Firefox is written (mainly) in C++.
You may want to check out this list : http://www2.research.att.com/~bs/applications.html
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I need to view image/heap/malloc()/stack and other resources used by process. I knew about Memory Validator but it lacks some of features.
Checkout the tools from Sys Internals.
http://technet.microsoft.com/en-us/sysinternals/bb545027
Namely RamMap and VMMap.
If you can state what features you're looking for, then it would help to provide a better solution.
Some options:
Process explorer?
Windbg?
Visual Studio?
What exactly are you looking to view?
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I'm looking for a QR-Code library for C/C++, not Java or .Net please. Anyone knows of one?
Note: There was a similar question a while back however but it didn't get
answered properly.
How is this one?
http://megaui.net/fukuchi/works/qrencode/index.en.html
The zxing library is primarily Java, but, includes a port of the QR Code detector and decoder to C++.
check out my widely cross platform C port of Psytec QR Image generator
https://github.com/swex/QR-Image-embedded