Re: How to correctly integrate D library to Swift/Obj-C mobile project?

2020-06-24 Thread Vlad via Digitalmars-d-learn
On Wednesday, 24 June 2020 at 12:00:04 UTC, Jacob Carlborg wrote: On Monday, 22 June 2020 at 14:32:21 UTC, Anton wrote: I have a static library (.a) compiled with LDC for iOS platform. But I can't figure out how to correctly connect it to the project and call its functions. I've already linked

Re: How to correctly integrate D library to Swift/Obj-C mobile project?

2020-06-22 Thread Vlad via Digitalmars-d-learn
On Monday, 22 June 2020 at 18:40:21 UTC, Kagamin wrote: If you want to use them from D, you need those classes and methods declared in the D language, in text. We want to use compiled D as a library in a iOS swift project. Usually, when you connect c++/c, you have header files so you can call

Re: string-ish range/stream from curl ubyte[] chunks?

2014-05-16 Thread Vlad via Digitalmars-d-learn
On Friday, 16 May 2014 at 21:35:04 UTC, Steven Schveighoffer wrote: On Fri, 16 May 2014 16:57:41 -0400, Vlad wrote: Q: Is anything like this already in use somewhere in the standard library or a project you know? There is an effort by myself and Dmitry Olshansky to create a stream API th

string-ish range/stream from curl ubyte[] chunks?

2014-05-16 Thread Vlad via Digitalmars-d-learn
Hello D programmers, I am toying with writing my own HTML parser as a pet project, and I strive to have a range API for the tokenizer and the parser output itself. However it occurs to me that in real-life browsers the advantage of this type of 'streaming' parsing would be given by also havi