Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
packaging C interpreter
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Rustom Mody  
View profile  
 More options Jul 21 2012, 2:20 am
Newsgroups: linux.debian.devel.mentors
From: Rustom Mody <rustompm...@gmail.com>
Date: Sat, 21 Jul 2012 08:20:01 +0200
Local: Sat, Jul 21 2012 2:20 am
Subject: packaging C interpreter

I use and am interested in packaging the C interpreter
http://www.linuxbox.com/tiki/node/149

Before spending significant time on it, I thought I would ask if this would
be acceptable as a debian package
Some possible issues:

1. Its not under GPL but a 'creative licence'
2. It build does not use autotools but make with small edits.  I guess I
could try putting it under autotools
3. Its an old project

I still believe that for many students C is still a first language and
therefore having an interpreter to study would greatly help them up their
learning curve

Thanks
Rusi


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gergely Nagy  
View profile  
 More options Jul 21 2012, 3:00 am
Newsgroups: linux.debian.devel.mentors
From: Gergely Nagy <alger...@madhouse-project.org>
Date: Sat, 21 Jul 2012 09:00:02 +0200
Local: Sat, Jul 21 2012 3:00 am
Subject: Re: packaging C interpreter

Rustom Mody <rustompm...@gmail.com> writes:
> I use and am interested in packaging the C interpreter
> http://www.linuxbox.com/tiki/node/149
> 1. Its not under GPL but a 'creative licence'
>From the homepage, and the source, this 'creative license' appears to be

the Artistic License, used by, for example, Perl. I do not think that
will be a problem.

> 2. It build does not use autotools but make with small edits.  I guess I
> could try putting it under autotools

Please don't do that. There's absolutely nothing wrong with not using
autotools. If minor edits is all the upstream build system needs, doing
that is far less invasive than replacing the whole build system.

Especially as there is no upstream to send the autotoolsification to,
there is absolutely no need to do such an invasive change.

> 3. Its an old project

Now this is a bigger isse: with no upstream, possible bugs are all yours
to fix. Are you willing and capable of acting as if you were the
upstream author?

> I still believe that for many students C is still a first language and
> therefore having an interpreter to study would greatly help them up their
> learning curve

And this is another issue: why would a C interpreter help in any way? We
already have battle-proven C compilers, which students will be exposed
to anyway, since if they work under unix, chances are, they'll use gcc
or clang anyway.

I do not think a C interpreter adds any value, I'm afraid. Granted, it's
code may be easier to understand than any other C compilers, but you
don't need to study a compiler to understand the language. Especially
not if its your first language.

--
|8]

--
To UNSUBSCRIBE, email to debian-mentors-REQU...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87394lbp1x....@luthien.mhp


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Игорь Пашев  
View profile  
 More options Jul 21 2012, 3:10 am
Newsgroups: linux.debian.devel.mentors
From: Игорь Пашев <pashev.i...@gmail.com>
Date: Sat, 21 Jul 2012 09:10:01 +0200
Local: Sat, Jul 21 2012 3:10 am
Subject: Re: packaging C interpreter
Tiny CC can act as interpreter.

--
To UNSUBSCRIBE, email to debian-mentors-REQU...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/CALL-Q8wJfRwjHcFPyy0w4JXww3TJ8Lp5BLNX=jZ0ai6UR=1...@mail.gmail.com


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bart Martens  
View profile  
 More options Jul 21 2012, 3:10 am
Newsgroups: linux.debian.devel.mentors
From: Bart Martens <ba...@debian.org>
Date: Sat, 21 Jul 2012 09:10:01 +0200
Local: Sat, Jul 21 2012 3:10 am
Subject: Re: packaging C interpreter

Gergely Nagy already wrote some smart things about aspects I'm not commenting
on now.

Using an interpreter instead of a compiler usually moves some error checking
from "compile time" to "runtime".  This may not be useful for students.

But I don't object against packaging a C interpreter.  You may get more
feedback from others on how welcome this software is in Debian on the ITP.

Regards,

Bart Martens

--
To UNSUBSCRIBE, email to debian-mentors-REQU...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120721070324.GC21...@master.debian.org


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Lifeng Sun  
View profile  
 More options Jul 21 2012, 3:40 am
Newsgroups: linux.debian.devel.mentors
From: Lifeng Sun <lifong...@gmail.com>
Date: Sat, 21 Jul 2012 09:40:02 +0200
Local: Sat, Jul 21 2012 3:40 am
Subject: Re: packaging C interpreter
Hi,

Just FYI, a C/C++ interpreter called CINT [1] is embeded in CERN ROOT
('root-system' package in Debian) [2-3].

[1] http://root.cern.ch/drupal/content/cint
[2] http://root.cern.ch/
[3] http://packages.qa.debian.org/r/root-system.html

Regards,
Lifeng

On 11:40 Sat 07/21/12 Jul     , Rustom Mody wrote:

> I use and am interested in packaging the C interpreter
> http://www.linuxbox.com/tiki/node/149

> Before spending significant time on it, I thought I would ask if this would
> be acceptable as a debian package
> Some possible issues:

> 1. Its not under GPL but a 'creative licence'
> 2. It build does not use autotools but make with small edits.  I guess I
> could try putting it under autotools
> 3. Its an old project

> I still believe that for many students C is still a first language and
> therefore having an interpreter to study would greatly help them up their
> learning curve

--

--
To UNSUBSCRIBE, email to debian-mentors-REQU...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120721073521.GI5716@string


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Giulio Paci  
View profile  
 More options Jul 22 2012, 7:00 pm
Newsgroups: linux.debian.devel.mentors
From: Giulio Paci <giuliop...@gmail.com>
Date: Mon, 23 Jul 2012 01:00:02 +0200
Local: Sun, Jul 22 2012 7:00 pm
Subject: Re: packaging C interpreter
On 21/07/2012 08:34, Gergely Nagy wrote:

I think this issue is alleviated by the fact that someone seems to have
worked on this interpreter during the last year. Further information can
be found here:
http://eic-howto.wikispaces.com/

> I do not think a C interpreter adds any value,

I think a C interpreter can be useful if it can be embedded and
integrated into applications, as it allows for C scripting and quick
prototyping of functions, which can be both positive.

What are the benefits of EIC with respect to Tiny CC (tcc package) and
CINT (root-system package) that others have suggested?

Bests,
        Giulio.

--
To UNSUBSCRIBE, email to debian-mentors-REQU...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/500C8543.3080...@gmail.com


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rustom Mody  
View profile  
 More options Jul 22 2012, 11:40 pm
Newsgroups: linux.debian.devel.mentors
From: Rustom Mody <rustompm...@gmail.com>
Date: Mon, 23 Jul 2012 05:40:01 +0200
Local: Sun, Jul 22 2012 11:40 pm
Subject: Re: packaging C interpreter

Interpreter means two different things: scripting engine and something
interactive like 'being-in-a-shell.'  tiny cc only seems to be a scripting
interpreter. ie I cant start it up and play around 'inside it' like for
shell/python etc

End of this mail Ive put a few lines from an example interaction with eic

root system seems quite large:
trying to install root-system-bin gives me:  46 packages install, 27 MB to
download
trying to install root-system gives me:  133 packages install, 50 MB to
download

eic source  is 500K

> Bests,
>         Giulio.

Thanks Guilo for responding.

Rusi

$ eic
*************************************************************************
EiC V4.3.3 - Copyright (c) 1995 to 2000, by Edmond J. Breen
EiC comes `as is' and with ABSOLUTELY NO WARRANTY OF MERCHANTIBILITY AND
 FITNESS OF PURPOSE
*************************************************************************
C 1> 1+2;
1+2;
    3
C 2> 1 << 3;
1 << 3;
    8
C 3> printf("%d << %d is %d\n", 3,4,3<<4)
printf("%d << %d is %d\n", 3,4,3<<4)
Error in ::EiC:: near line 3: Expected  ;
Error: clean up forced
C 4> printf("%d << %d is %d\n", 3,4,3<<4);
printf("%d << %d is %d\n", 3,4,3<<4);
3 << 4 is 48
    13
C 5> printf("%d << %d is %d\n", 2,4,2<<4);
printf("%d << %d is %d\n", 2,4,2<<4);
2 << 4 is 32
    13

-------------------------------------


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »