Interpreted language

IS IT NECESSARY FOR AN INTERPRETED LANGUAGE TO BE CASE SENSITIVE?

Sorry, I cannot read you, my eyes are case sensitive.

^ manveru

On Wed, Mar 26, 2008 at 5:45 PM, Michael F.
[email protected]
wrote:

Sorry, I cannot read you, my eyes are case sensitive.

^ manveru

I was going to ask if anyone else found this as punny (get it!?) as I
did.

On the other hand, to Jitendra:
case-sensitive in what fashion?

Arlen

On Wed, 26 Mar 2008 01:25:36 -0500, Jitendra R. wrote:

IS IT NECESSARY FOR AN INTERPRETED LANGUAGE TO BE CASE SENSITIVE?

10 LET A$=“NO IT IS NOT”
20 PRINT A$
RUN

–Ken

On Wed, Mar 26, 2008 at 3:09 PM, Ken B. [email protected] wrote:

On Wed, 26 Mar 2008 01:25:36 -0500, Jitendra R. wrote:

IS IT NECESSARY FOR AN INTERPRETED LANGUAGE TO BE CASE SENSITIVE?

10 LET A$=“NO IT IS NOT”
20 PRINT A$
RUN

basic.rb:4: syntax error, unexpected tCONSTANT, expecting $end
10 LET A$=“NO IT IS NOT”

BTW this is run with Ruby1.8 but Ruby1.9 gives the same results, this
is very troublesome. Like Ken I was certain that bASic was a subset of
Ruby :wink:
Robert


http://ruby-smalltalk.blogspot.com/


Whereof one cannot speak, thereof one must be silent.
Ludwig Wittgenstein

Robert D. wrote:

BTW this is run with Ruby1.8 but Ruby1.9 gives the same results, this
is very troublesome. Like Ken I was certain that bASic was a subset of
Ruby :wink:
Robert

No, Ruby is basic. BASIC isn’t Ruby

Gareth

On Wed, Mar 26, 2008 at 12:24 PM, Gareth A. [email protected]
wrote:

Forgot your sarcasm detector today Gareth?

Anyway, he’s probably asking because his capslock is stuck on. Such a
sad ailment to be had on so many people.

On Wed, Mar 26, 2008 at 12:51 AM, Arlen C. [email protected] wrote:

On the other hand, to Jitendra:
case-sensitive in what fashion?

Arlen

Jitendra,

The short answer is No it is not necessary for an interpreted language
to be case-sensitive.

It all depends on the interpreter.

There is nothing that would prevent you from developing a language and
an interpreter that was case agnostic.

-Coby

TO BE CASE SENSITIVE?

There are pros and cons.

But since your question is so short, I think its better to reply with
only a short answer like the above, and leave it at that :slight_smile:

On Wed, Mar 26, 2008 at 2:25 AM, Jitendra R.
[email protected] wrote:

IS IT NECESSARY FOR AN INTERPRETED LANGUAGE TO BE CASE SENSITIVE?

No, no, nO!


Rick DeNatale

My blog on Ruby
http://talklikeaduck.denhaven2.com/

On Thu, Mar 27, 2008 at 11:48 AM, Rick DeNatale
[email protected] wrote:

On Wed, Mar 26, 2008 at 2:25 AM, Jitendra R. [email protected] wrote:

IS IT NECESSARY FOR AN INTERPRETED LANGUAGE TO BE CASE SENSITIVE?

No, no, nO!
Since when does 2**2 equal 3 Rick? :wink:
R.

Robert D. wrote:

Like Ken I was certain that bASic was a subset of
Ruby

Well, to be fair, the question wasn’t specific to ruby. The question was
about
intepreted languages and Commodore-Basic (that’s the one Ken used,
right?) is
intepreted, so his answer is relevant to the question asked.

On Thu, Mar 27, 2008 at 3:27 PM, Sebastian H.
[email protected] wrote:

Robert D. wrote:

Like Ken I was certain that bASic was a subset of
Ruby

Well, to be fair, the question wasn’t specific to ruby. The question was about
intepreted languages and Commodore-Basic (that’s the one Ken used, right?) is
intepreted, so his answer is relevant to the question asked.
If I had put a smiley it would have spoiled the fun, no?
Sorry Sebastian for having wasted your time.
R.


Jabber: [email protected]
ICQ: 205544826


http://ruby-smalltalk.blogspot.com/


Whereof one cannot speak, thereof one must be silent.
Ludwig Wittgenstein

Jitendra R. wrote:

IS IT NECESSARY FOR AN INTERPRETED LANGUAGE TO BE CASE SENSITIVE?

What do you mean by case sensitive? In Business Basic the interpreter
allows you to enter commands in lower case but automatically converts
them to uppercase before storing them but doesn’t touch information in
strings. For example, entering 10 a$=“This is a test” and then listing
the program will show: 10 LET A$=“This is a test”.
The interpreter considers commands and variables to be case insensitive
but strings to be case sensitive. Variable A$ is the same as a$ but
“This is a test” is not the same as “this is a test”.