Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
[TODO] Command line support for various compilers
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
  1 message - 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
 
Will Coleda  
View profile  
 More options Nov 8 2004, 10:57 pm
Newsgroups: perl.perl6.internals
From: parrotbug-follo...@parrotcode.org (Will Coleda)
Date: Mon, 08 Nov 2004 19:57:19 -0800
Local: Mon, Nov 8 2004 10:57 pm
Subject: [perl #32374] [TODO] Command line support for various compilers
# New Ticket Created by  Will Coleda
# Please include the string:  [perl #32374]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=32374 >

I was talking with Dan on IRC about what we're going to do as a replacement for macros. Talk turned to implementing a registered 'compile'r for "pre parsed PIR".

For this to be useful, of course, we'd need to be able to run it from the command line. As dan said:

<@Dan> Sure. Add it as a todo, since that's what we should do. The
             bytecode loading system should autodetect based on extension or
             magic info, or with a -switch of some sort

Which I take to mean, something like:

./parrot foo.pimc #parsed imc - automatic detection
./parrot foo.pbc  #magic info in pre-compiled bytecode
./parrot -lang=ppir foo.imc #file contains parsed imc with a sneaky filename.

The primary issue I see is the ability to register official compilers in your parrot build. For example, I provide a tcl compiler - but we'd need a way for

./parrot foo.tcl

to be able to find tcl's compiler. (or tell you the reason why.)

This would also eventually let me do something evil, like:

% ln /usr/local/bin/parrot /usr/local/bin/tclsh
% cat foo.tcl
#/usr/local/bin/tclsh
puts "whee!"
% chmod a+x foo.tcl
% ./foo.tcl
whee!
%


    Forward  
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 »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2010 Google