I am new to CAPL and looking for its tutorials - capl

Is there any data available regarding CAPL
-Books
Tutorial
Channels etc ,.

https://www.academia.edu/34469538/Quick_Introduction_To_CAPL
This application note is a brief introduction to CAPL, the easy-to-use C-based programming language and integrated programming environment inside both CANalyzer and CANoe.

Related

How can I develop a custom transpiler using NLP?

There are ~500k code snippets written in proprietary language that I have to port to a new system also using its own proprietary language. I have the following with me
Vocabulary and grammar of source and destination languages
Sample of 1500 converted rules (for training if required) of different complexity
I am not looking for 100% automation but may be a transpiler that may automate part of it. Can it be done using NLP? Have already gone through this, this, Rascal , Haxe and Spoofax. I could not find much documentation on how to create a custom tranpiler.
Any help is appreciated. Thank you!

Where can I find math intense apps in Ruby

I have found many rails apps mainly on the enterprise, social networking kind of web apps. I see that Ruby is compared with some of the great OOPS languages like Java & C# but I am really finding it hard to get some Math Intense apps. Any knowledgeble input (links to sample programs etc.), where the usage of the language is shown with ease and is like jumpstart or show how the language can be used for variety of math probs, is greatly appreciated.
Unfortunately, Ruby hasn't ventured very far into mathematical and scientific computing. Currently, there is a pre-alpha library called SciRuby that is attempting to bring more math oriented capabilities to Ruby. They are trying to build a NumPy/SciPy equivalent. A few projects that are under SciRuby with example usage are:
NMatrix
Rubyvis
Statsample
Each project has various examples on how to get started/contribute. A good place to start is their docs and their mailing list.
Hope that helps.

why use Google V8

I don't get it. I'm a C/C++ programmer, what's the possible use of V8 for me? There are few examples and tutorials out there, and they all lack substance - I don't want to use another library to just add a couple of numbers or print something in a console window.
My question is: is there a real use for this technology, and if yes, then would be the scenario?
Also, can I do any part of GUI this way?
Help is appreciated.
"V8 is Google's open source JavaScript engine"
So the whole point is ability to write code in JavaScript, and run it quite fast (for an interpreted dynamic language). Google Chrome, which is written in C++, uses it for internal scripting — not only for regular web page scripting, but also for extension code. Let's consider this as a 'real use'.
So, if your app needs scripting, V8 may be good for you (JS is not a perfect language, but stil quite decent). As for GUI, you'll need to bind your GUI components with JS first, there's no built-in UI components (as Tk in TCL).
One real use of v8 is node.js. I hope that is good enough
Google V8 is a JavaScript engine.
I don't really think it is what you are looking for.
V8 is a JavaScript engine. The most common use for it is to allow users of your software to write scripts in simpler language than that your software was written with (C++ in your case).
It´s the same approach of Matlab, AutoCad, Microsoft Office, and etc.
If you write any kind of commercial application, you can expose some APIs and allow other developer to create addons for your applications without require them to know C/C++.
How about this for real use: You can use javascript as a debugging or testing tool - add a javascript console to your app and bind the commands of your GUI application to javascript functions, and you'll be able to test your UI application using javascript scripts. This way you'll reduce the amount of manual testing needed - manual testing would only have to verify that a correct command was excutes as a result of user action.
You can do GUI in javascript the same way that Qt is being used in Python and other scripting languages (see PyQt, and QtRuby, PerlQt, etc.). For how to create bindings for V8 you may want to check out this

Scripting languages in XCode

I notice that Java has a number of ancillary scripting languages. Clojure and Groovy for example. My understanding is that these can be used when the full might and power of Java does not need to be applied and a speedy cludge can be hacked in Groovy/Clojure. But at the end of the day the scripting tools contribution gets compiled into the application
Question 1. Is there a similar scripting in XCode? I was not so interested in Python or Ruby in this situation as they are languages in their own right added in, as indeed I think can happen in Java, but I was looking for a purpose built tools.
Question 2. If there is such a tool would it count the application out vis-a-vis the new Apple guidelines as to what can be used to generate iXxx apps?
F-Script is a scripting language that integrates well with Objective-C/Cocoa applications. Might not be exactly what you're looking for, but it's worth a look.
For such things there is AppleScript, with its own IDE AppleScript Studio. It has bindings to control Cocoa Applications, be embedded inside of them or even work as stand-alone scripts.
The problem is that it cannot be integrated inside iXxx applications because iPhone-OS Cocoa Foundation framework doesn't include it.
As mentioned by mipadi, you can use F-Script for Cocoa applicaitons.
If you are staying mainly in C, then Lua is another option.

Suggestions for choosing an automation QA package?

What QA package offers the widest possible support and is the easiest/fastest to develop for? The qualities I am looking for are:
widest support of scripting languages, or which language your preferred package supports
capability to test webpages for interaction against forms and user interfaces
capability to test data input for qualitative/quantitative analysis against definitions you provide
is fastest to write definitions for
Selenium is currently gaining some popularity and supports several languages (1). In addition, the robot framework makes for a nice way to run selenium and non-selenium based tests.
(1) java, groovy, ruby, C#, perl, PHP, python as of this writing

Resources