The Garry's Mod Lua an API or a language itself? - lua

Is the following documentation to an API or is it a language?
http://wiki.garrysmod.com/page/Main_Page
considering that this is an API:
http://docs.oxidemod.org/rust/#universal-hooks
I thought this might be too.

Lua is its own coding language. GLua is an API that uses Lua; see the GLua documentation for more details. In short, yes GLua is an API.

Related

How can I use Amazon Comprehend in Lua?

I want to use Amazon Comprehend to analyze some articles.
But there is no Lua SDK in the API Reference, neither Restful API. What should I do to use Amazon Comprehend in Lua code?
Option 1
Use the AWS SDK for C++ and Lua's C/C++ API to build bindings you can use from Lua.
Option 2
Hack together something using io.popen and the AWS CLI.

Can i debug with Cling? Any API?

Does cling (as embeddable interpreter) support code debugging? Any API?
No, it doesn't provide debugging features.

how useful is Cling C++ JIT interpreter developed at CERN?

I recently watched great google talks speech about Cling - C++ language interpreter. But I wonder if anyone except people at CERN (where it is developed) are using Cling, and how good it is from non-collider-physics-scientist point of view, can you write desktop apps with it?
There are some videos of uses cases different from the High Energy Physics: http://www.youtube.com/results?search_query=cling+c%2B%2B (I think first couple are the relevant ones)
It has the potential to be very useful, but it is very young. There is no documentation that I could find, no dedicated mailing list, no online tutorials. I was able to get small toy code to run, but couldn't figure out how to use it productively on a large library yet.
Cling project is well established one. You can find more information in their official website cling. They also have a forum
Thanks

Language translator Delphi

I am busy with a project where I have to code a program in Delphi that will translate an English word to another language. What would be the easiest way to approach this? I was thinking about using Microsoft Translator V2 API from Delphi, but it seems very complicated and I am not yet that experienced in Delphi. Any other suggestions?
Thanks in advance :)
Thanks to RRUZ you can follow this article about Microsoft Translator V2 API implementation for Delphi; inluding the full (even speaking) example.
If you don't have to be self-contained, you could make a webservice call (soap, etc..) to the cloud (google, etc..). The nature of your app (is it a translation program? or do you just want to provide translation in another app, along with spellcheck, thesaurus, syntax highlight, etc..?) will determine whether this is feasible or not.

Beginning in Lua for Corona SDK

I have started working on Corona SDK.As you all know it uses Lua as the programming language,i wanted to know some good links or ebooks which i can refer to begin development.I am an iPhone developer and working on objective C since last 1 year.
Any suggestions,help would be appreciated.
Thanks
Aditya
I've been using this: Programming in Lua, first edition (FREE online edition of the book)
The Corona SDK forums are also good for specific issues related to the SDk itself. It seems it is having a few database problems just right now, but you might want to check it later.
Edit: just for completeness, here is the link to the Lua Bookstore # amazon (not an affiliate link).
You can also check out http://learningcorona.com/ which has a huge listing of tutorials for Corona.
Here's a great resource for learning Lua, it's aimed towards beginner programmers (doesn't sound like you), but it does a great job at introducing Lua and most of the basic concepts:
Lua for Beginners:
http://lua.gts-stolberg.de/en/index.php?uml=1
That, as well as the "Learning Corona" section of the Ansca docs should be plenty enough to get you up to speed in a very short amount of time:
http://developer.anscamobile.com/resources/docs/
TIP: Start working on a project, or converting an existing app using Corona and you'll learn it blazing fast! That's what I did, and I learned it quickly enough to have one of my games fully converted in about 8 days.
For understanding basics of CORONA SDK I will prefer "Corona.SDK.Mobile.Game.Development.Beginners.Guide"
book from Packtpub publication.
and You can also check out http://www.learningcorona.com/ for tutorial both video and audio.
The Lua Reference Manual is also an excellent read: Concise and complete.
Lua Gems is also worth looking at (at least the freely available snippets).
I found the Beginning Lua Programming book to be pretty good as a complete reference for Lua with good example code.
My very personal advice is just take a look at great books (Programming in LUA is covering everything) and switch as soon as possibles to samples / tutorials in order to learn all the API functions.
There are several Corona sdk video tutorials on YouTube. One demonstrates how to create a simple balloon game in a few minutes. You can have Your Lua editor in one window and YouTube in another, and click on the video to start/stop and switch to the editor and type in the code. Some tutorials provide links to download the code.
hello you can use their website they have good documentation you will find it here
http://docs.coronalabs.com/api/

Resources