Looks  very useful for newbies like me.
Will take a deeper look at this later next week.
Thanks a lot.

On Friday, December 24, 2021 at 9:12:44 AM UTC-5 Shlomi Fish wrote:

> Hi Mahesh!
>
> In case it helps you and to help future questions, I set up:
>
> https://github.com/shlomif/emcc-array-of-pointers-example
>
>
> On Mon, 13 Dec 2021 03:03:09 -0800 (PST)
> Mahesh Velankar <[email protected]> wrote:
>
> > Shlomi 
> > Thanks for your efforts for a quick response.
> > I will have to go thru your code to understand the typescript code. .. I 
> > will start doing that.
> > However I would have preferred a simple c++ - JavaScript example doing 
> that.
> > Still let me start looking into your project. and Let me understand the 
> > passing of this char * * to and from between c++ and JavaScript
> > Thanks again
> > -Mahesh
> > 
> > 
> > On Monday, December 13, 2021 at 12:38:50 AM UTC-5 Shlomi Fish wrote:
> > 
> > > Hi Mahesh!
> > >
> > > On Sun, 12 Dec 2021 16:50:53 -0800 (PST)
> > > Mahesh Velankar <[email protected]> wrote:
> > > 
> > > > 
> > > > 
> > > > I am trying to write a web application that will do sort of word 
> > > processing 
> > > > (say spell check, grammar check, word analysis) using back-end C/C++ 
> > > code. 
> > > > (I have got c/C++ code working in another desktop app... I want to 
> bring
> > > > 
> > > it 
> > > > to web). I want an example minimal code doing this (*pass array of 
> > > strings* 
> > > > from JavaScript to c/c++ code...c/c++ code will do the word 
> > > operations... I 
> > > > have this code ......and *the resulting array of strings* will be 
> sent 
> > > back 
> > > > to JavaScript where they will be processed further. (passing 
> *arrays* to 
> > > > and from is important) Please point me to any such code/tutorial, 
> from 
> > > > where I can make a start.
> > > > 
> > > > I searched GitHub. I found several projects using emscripten but 
> could 
> > > not 
> > > > get this anywhere. (Only place I could get some clue was Hunspell 
> built 
> > > > with emscripten ... however I could not build it successfully)
> > > > 
> > > > Please let me know . Thanks in advance.
> > > > 
> > >
> > > I've done this (using 'char * *') here:
> > >
> > >
> > > 
> https://github.com/shlomif/fc-solve/blob/a2137b8882dbdd91444e2acda5b467aed2a9ebab/fc-solve/site/wml/src/ts/web-fc-solve.ts#L664
> > >
> > > Regards,
> > >
> > > -- Shlomi
> > >
> > > -- 
> > >
> > > Shlomi Fish https://www.shlomifish.org/
> > > https://is.gd/htwEXQ - Integrating GNU Guile into GNU coreutils
> > >
> > > Chuck Norris is his own boss. If you hire him, he’ll tell your boss 
> what to
> > > do. — https://www.shlomifish.org/humour/bits/facts/Chuck-Norris/
> > >
> > > Please reply to list if it's a mailing list post - 
> https://shlom.in/reply 
> > > .
> > > 
> > 
>
>
>
> -- 
>
> Shlomi Fish https://www.shlomifish.org/
> Perl Elems to Avoid - https://perl-begin.org/tutorials/bad-elements/
>
> Always reach for the stars! Because even if you miss… You’ll be miles away
> from me with your motivational bullshit.
> — https://is.gd/PuH02m
>
> Please reply to list if it's a mailing list post - https://shlom.in/reply 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/9671d463-fadb-483c-b88e-e95fd6208880n%40googlegroups.com.

Reply via email to