OpenCOBOL Forum Index OpenCOBOL
V8 javascript in OpenCOBOL | Register To Post |
| Threaded | Oldest First | Previous Topic | Next Topic | Bottom |
| Poster | Thread |
|---|---|
| btiffin | Posted on: 2012/3/2 9:53 |
Home away from home ![]() ![]() Joined: 2008/6/7 From: CANADA Posts: 1196 |
Re: V8 javascript in OpenCOBOL Ok, three tries.
Forgot the C string null on the CALL literal. I've updated the original post. The listing above is the unsafe version for context. Don't cut nor paste this one. ![]() Plus: This discussion on LinkedIn has led to the idea of a new project to attempt to embed Node.js into OpenCOBOL. I'm going to try a CALL interface first. Cheers, Brian |
| btiffin | Posted on: 2012/2/28 4:12 |
Home away from home ![]() ![]() Joined: 2008/6/7 From: CANADA Posts: 1196 |
V8 javascript in OpenCOBOL <From a thread on linkedin>
Michael, I did (ala http://code.google.com/apis/v8/build.html) with ocv8js.cpp and and as none of this is installed, need to tweak the library lookup path for testing Worked the beauty first try. But, man is the V8 code ever codey, err, I mean top-end C++. ![]() v8 sources really are top-end everyone. But C++ is always codey lookin'. The more high end, the codey-er. Cheers, Brian and I lied, nothing ever works first try, but two in this case...I forgot the BY VALUE on the length int, and first try was a segfault. Always heart warming and very motivational when experimenting with unknown new libraries. |
| Threaded | Oldest First | Previous Topic | Next Topic | Top |
| Register To Post | |








