interpreted-language

Can you do "builds" with PHP scripts or an interpreted language?

Correct me if I'm wrong, but a "build" is a "compile", and not every language compiles. Continuous Integration involves building components to see if they continue to work beyond unit tests, which I might be oversimplifying. But if your project involves a language that does not compile, how do you perform nightly builds or use continuous...

Why are so many web languages interpreted rather than compiled?

Why didn't languages such as C end up being using for web dev? Surely the speed increases from being compiled would be useful for heavy load sites? ...

How is it possible to sell code written in an interpreted language?

It seems to me that if you are writing in an interpreted language that it must be difficult to sell software, because anyone who buys it can edit it/change it/resell it without much difficulty. How do you get around this? I have a couple of PHP apps that I'm reluctant to sell to people as it seems that it's too simple for them to change...

Simple Interpreted Language Design & Implementation

I need some resources for implementing a simple virtual machine and interpreted language. Something that is pratical is most useful. I have read the Virtual Machine Implementation book and found that it is quite old and doesn't represent the vms I see today. Also if someone know of a fairly simplistic language that would be great as w...

Why interpreted langs are mostly ducktyped while compiled have strong typing?

I just don't know that, is there any technical reason for that? Is it more difficult to implement a compiler for a language with weak typing? What is it? ...

Is Ruby really an interpreted language if all of its implementations are compiled into bytecode?

In the chosen answer for this question about Blue Ruby, Chuck says: All of the current Ruby implementations are compiled to bytecode. Contrary to SAP's claims, as of Ruby 1.9, MRI itself includes a bytecode compiler, though the ability to save the compiled bytecode to disk disappeared somewhere in the process of merging...

How is setTimeout implemented in the javascript interpreters or timers in general?

How is a function called after a time has passed implemented in javascript or any other interpreted language? In other words, is there a loop behind in the javascript interpreter that checks all the time a list of timers, or is there any particular way that the operating systems handle this? Thanks ...

run interpret c++?

Is there a way i can run c++ code as interpreted instead of compiled? so i can edit code and write functions on the fly? Related: Have you used any of the C++ interpreters (not compilers)? ...

is the code for interpreted languages re-interpreted every time the line is reached?

suppose that no bytecode is generated for a program, like in Ruby, Perl, or PHP, in this case, is line 1 below re-interpreted every time the execution reach line 1 again? while ($indexArrayMoviesData < $countArrayMoviesData + $countNewlyAddedMoviesData) { # do something } that is, if the loop runs 100,000 times, then that line will ...

Why HTML/JavaScript/CSS are not compiled languages and will they ever be?

Why HTML/JavaScript/CSS are not becoming compiled languages (or maybe even merge into a single compiled language)? What if browsers were running "Browser Virtual Machine" and html/javascript/css sources could by compiled to a "browser bytecode". Wouldn't it help developers and users a lot? I can see a few challenges: What to do with z...

Pros And Cons Of Interpreted Languages

Hello, I'm now learning Perl, but what are the pros and the cons of the interpreted languages?, because i started to learn Perl because my friend started, then it's only more one language to my experience. Thanks. ...

Why Interpreted Languages Are Slow?

I was reading about the pros and cons of interpreted languages, and one of the most common cons is the slowness, but why is the interpreted languages programs slow? ...

Interpreted Languages For Mobile Platforms

I'm starting this community wiki to get all the interpreted languages that can be embedded, but let's begin: Windows CE Perl Ruby Python Palm OS Python iPod Python Now if I missed some language, please post and remember to put the link. Thanks. ...

Programme execution animation for teaching purposes

Does there exist an interpreter which shows execution animation for teaching purposes? I use the Jackson Structured Method for explaining 3rd generation programming languages. I am thinking about a text or graphical full screen display showing the "computers inside": allocation and usage of the variables while executing one instruction a...

What is the processes to parse an interpreted programming language?

I would like to know how is the best way to create the syntax tree. ...

When implementing an interpreter, is it a good or bad to piggyback off the host language's garbage collector?

Let's say you are implementing an interpreter for a GCed language in a language that is GCed. It seems to me you'd get garbage collection for free as long as you are reasonably careful about your design. Is this generally how it's done? Are there good reasons not to do this? ...

Compiling Ruby and Python interpreters with Clang?

I'm just curious; are there any benchmarks about how compiling interpreters for dynamic languages with Clang affects the performance of these languages? Do those interpreters even compile? ...

Runtime definition

What is the runtime? And I don't mean "at run time" = as the program/script is running. I mean The <your-interpreted-language-here> runtime ...

Understanding run time code interpretation and execution

I'm creating a game in XNA and was thinking of creating my own scripting language (extremely simple mind you). I know there's better ways to go about this (and that I'm reinventing the wheel), but I want the learning experience more than to be productive and fast. When confronted with code at run time, from what I understand, the usual ...

Do comments slow down an interpreted language?

I am asking this because I use Python, but it could apply to other interpreted languages as well (ruby, php, javascript). Whenever I leave a comment in my code, is it slowing down the interpreter? My limited understanding of an interpreter is that it reads program expressions in as strings and converts those strings into code. It seems ...