Note:I don't mean some theoretical question which don't have any implementation just languages that don't have both!!!!!
These days there exists a c/c++ interpreter(cint) and a python compiler(to python bytecode).
I understand that the simplest definition is that a compiler just converts code from language a to language b, and then y...
Hi,
I am wondering if there are any languages that extend PHP into something ahem "better"?
They don't have to necessarily be able to interact with PHP, but it is certainly a benefit if they can (e.g. call PHP functions or even be called from PHP).
...
I'm trying to get a better understanding of the difference. I've found a lot of explanations online, but they tend towards the abstract differences rather than the practical implications.
Most of my programming experiences has been with CPython (dynamic, interpreted), and Java (static, compiled). However, I understand that there are oth...
Hello everyone I'm currently implementing a simple programming language for learning experience but I'm in need of some advice. Currently I'm designing my Interpreter and I've come into a problem.
My language is a subset of C and I'm having a problem regarding the stack interpreter implementation. In the language the following will comp...
Hey all, I'm trying to understand the python compiler/interpreter process more clearly. Unfortunately, I have not taken a class in interpreters nor have I read much about them.
Basically, what I understand right now is that Python code from .py files is first compiled into python bytecode (which i assume are the .pyc files i see occasio...
What's the difference, from the interpreter's POV, between the following the following programs:
#!/usr/bin/perl -w
use strict;
for (1..10000000) {
my $jimmy = $_**2;
}
and
#!/usr/bin/perl -w
use strict;
my $jimmy;
for (1..10000000) {
$jimmy = $_**2;
}
"time" reports for the first program:
real 0m1.519s
user 0m...
Some interactive systems, including Standard ML of New Jersey and GHC, offer an interactive toplevel loop where you can type expressions and see results. A nice little convenience is that the result of the most recent expression is bound to the variable it. Here's an example from GHCi:
Prelude> 3 + 5
8
Prelude> it
8
Prelude> 2 * it
16...
In order to pass some code to an application created with C++ I have used a C++ open source code which acted as a TCL interpreter. So I could create a file, in there put some XML data and in some tags some TCL code. Finally it is possible to read the file configure some structure and execute the TCL script snippets from the XML file in a...
Possible Duplicate:
Whats a good Common Lisp implementation for Windows?
where can I get common lisp interpreter for windows?
...
Where can I find an online interpreter for Python 3? I'm learning Python but can't install it at work where I'd like to do some practice.
Thanks!
Sorry to repeat the question; I can't bump earlier posts and was just hoping there is one out there now.
...
I am looking for an interpreter for a stack-oriented programming language released under GPL or LGPL license, written in C or Objective-C.
...
Hi!
I am trying to drop into the Scala interpreter in the middle of my Scala program.
I've seen this very interesting question but it does not seem to be working in Eclipse (3.5.2 + Scala plugin).
I get the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: scala/io/LowPriorityCodecImplicits
at scala.tools.n...
Right now I'm writing my PhD proposal to build a language processor for a new specification language for Java (cf. JML, or Spec# for C#) and need to nail down an implementation tool to start development. The research aspects of the language (syntax, semantics, theoretical results) are orthogonal to my choice of implementation, so I'd lik...
Possible Duplicate:
Have you used any of the C++ interpreters (not compilers)?
probable duplicate: http://stackoverflow.com/questions/69539/have-you-used-any-of-the-c-interpreters-not-compilers
Who has used Ch and CInt? Does anyone have a preference for either? Differences/Disadvantages/ advantages of each?
...
Python 3.2 ALPHA is out.
From the Change Log, it appears the GIL has been entirely rewritten.
A few questions:
Is having a GIL good or bad? (and
why).
Is the new GIL better? If so, how?
UPDATE:
I'm fairly new to Python. So all of this is new to my but I do at least understand that the existence of a GIL with CPython is a huge deal...
Hi, I was just wondering if there is any technical difference between a REPL and an interpreter?
...
"There is no such thing as a "compiled language" or "interpreted language". Whether a language implementer chooses to write a compiler, an interpreter or anything in between is an implementation detail and has nothing to do with the language. "
Is the above statement is true ?
...
I have heard people saying "a JVM is necessarily a java interpreter but a java interpreter is not necessarily a JVM". Is that true?
I mean is there a difference between java interpreter and JVM?
...
can anybody explain "all java interpreter are JVM but all JVM are not java interpreter" ?
I am really confused as JVM is used for to run java program only or it can do anything else too.
...
Sorry, if the topic title does not convey the problem.
As part of a project we want to expose an expressive language to the User, mostly for defining simple expressions, but possibly the ability to write procedures as well as any complex calculations they might want to do with the data.
Of course, the natural choice would be to expose ...