Am 22.10.2012 23:31, schrieb Joe Davis:
>The version of Python I have on my old Solaris boxes is old and
> isn't supported and dosn't have all the modules that I need.I have
> downloaded the new 3.3 version and have been trying to compile it and
> have no luck:
>
> After running the ./conf
On 2012-10-22 22:31, Joe Davis wrote:
The version of Python I have on my old Solaris boxes is old and
isn't supported and dosn't have all the modules that I need.I have
downloaded the new 3.3 version and have been trying to compile it and
have no luck:
After running the ./configure comm
Alf and Steven Howe, please don't top post, it makes it all but
impossible to follow a thread. Darn!:)
Mark Lawrence.
Alf P. Steinbach wrote:
Since Mohamed is talking about compilation I think it's more likely he's
talking about an intermediate program represention based on quad tuples
like
mohamed issolah, 06.03.2010 14:07:
I want to create a compiler which transform a code like pascal code (that
what I do in C) to "quad"
In C, I use BISON and FLEX tools.
Hi,
please stop starting new threads for the same topic. Instead, reply to
responses you get.
Stefan
--
http://mail.pytho
Since Mohamed is talking about compilation I think it's more likely he's talking
about an intermediate program represention based on quad tuples like
(OP, DESTINATION, ARG1, ARG2)
Cheers,
- Alf
* Steven Howe:
Is it possible he's talking about a 'quad core'? as in a CPU? In that
case I thi
Is it possible he's talking about a 'quad core'? as in a CPU? In that
case I think he wants
to optimize a python program for a multiprocessor core with four processors.
sph
On 03/06/2010 07:56 AM, Dave Angel wrote:
mohamed issolah wrote:
2010/3/6 Dave Angel
mohamed issolah wrote:
hey,
mohamed issolah wrote:
2010/3/6 Dave Angel
mohamed issolah wrote:
hey,
How can I construct a compiler with python just for informatiom ., I have
habit to construct it with C language,
sorry for my english ;-)
You need to tell us what you're really trying to do, what tool
mohamed issolah wrote:
hey,
How can I construct a compiler with python just for informatiom ., I have
habit to construct it with C language,
sorry for my english ;-)
You need to tell us what you're really trying to do, what tools you're
willing to use, and probably why you want it. And if
In article ,
David M. Besonen wrote:
>On 11/13/2009 3:26 PM, Aahz wrote:
>>
>> Ken Thompson's classic paper on bootstrapped malware
>> finally gets a rebuttal:
>>
>> http://lwn.net/Articles/360040/
>
>thanks for pointing this out.
Actually, I found out about it on panix.chat ;-)
--
Aahz (a...@
On 11/13/2009 3:26 PM, Aahz wrote:
> Ken Thompson's classic paper on bootstrapped malware
> finally gets a rebuttal:
>
> http://lwn.net/Articles/360040/
thanks for pointing this out.
-- david
--
http://mail.python.org/mailman/listinfo/python-list
Kay Schluehr wrote:
I realize that I probably ought to be trying this out with the newer ast stuff,
but currently I am supporting code back to 2.3 and there's not much hope of
doing it right there without using the compiler package.
You might consider using the *builtin* parser module and forge
> I realize that I probably ought to be trying this out with the newer ast
> stuff,
> but currently I am supporting code back to 2.3 and there's not much hope of
> doing it right there without using the compiler package.
You might consider using the *builtin* parser module and forget about
the co
En Fri, 17 Apr 2009 10:55:46 -0300, Scott David Daniels
escribió:
Robin Becker wrote:
def func(D):
for k in D:
exec '%s=D[%r]' % (k,k)
print i, j, k
print locals()
print i, j, k
if __name__=='__main__':
func(dict(i=1,j=33))
end p.py
the compiler package en
Robin Becker wrote:
If I have messed that up then there should be some easy fix, otherwise
if pycodegen is somehow not getting the semantics of the the variables
i,j correct is there some way I can fix that
def func(D):
for k in D:
exec '%s=D[%r]' % (k,k)
print i, j,
In article ,
Robin Becker wrote:
>
>My analysis of the problem is that in
>
> start p.py
>def func(D):
> for k in D:
> exec '%s=D[%r]' % (k,k)
> print i, j, k
> print locals()
> print i, j, k
>
>if __name__=='__main__':
> func(dict(i=1,j=33))
> end p.py
>
>the
Kay Schluehr wrote:
On 16 Apr., 11:41, Robin Becker wrote:
Is the compiler package actually supposed to be equivalent to the parser module?
No. The parser module creates a concrete parse tree ( CST ) whereas
the compiler package transforms this CST into an AST for subsequent
computations. In
Kay Schluehr wrote:
On 16 Apr., 11:41, Robin Becker wrote:
Is the compiler package actually supposed to be equivalent to the parser module?
No. The parser module creates a concrete parse tree ( CST ) whereas
the compiler package transforms this CST into an AST for subsequent
computations. In
On 16 Apr., 11:41, Robin Becker wrote:
> Is the compiler package actually supposed to be equivalent to the parser
> module?
No. The parser module creates a concrete parse tree ( CST ) whereas
the compiler package transforms this CST into an AST for subsequent
computations. In more recent versio
Robin Becker wrote:
Aahz wrote:
In article ,
Robin Becker wrote:
Is the compiler package actually supposed to be equivalent to the
parser module?
Before I poke my nose into this, what versions of Python have you tried?
I'm using 2.6.
I just checked and it's the same in 2.5.
--
Robin Bec
Aahz wrote:
In article ,
Robin Becker wrote:
Is the compiler package actually supposed to be equivalent to the
parser module?
Before I poke my nose into this, what versions of Python have you tried?
I'm using 2.6.
--
Robin Becker
--
http://mail.python.org/mailman/listinfo/python-list
In article ,
Robin Becker wrote:
>
>Is the compiler package actually supposed to be equivalent to the
>parser module?
Before I poke my nose into this, what versions of Python have you tried?
--
Aahz ([email protected]) <*> http://www.pythoncraft.com/
"If you think it's exp
On Wed, Oct 8, 2008 at 9:14 PM, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote:
>> The documentation for the ast module states that it "helps to find out
>> programmatically what the current grammar looks like". I can't find
>> any reference (even when reading the code) on how you should go about
>> t
> My confusion starts with the fact that I'm not sure if all Python 2.4
> code is going to be syntactically valid 2.6 code.
That's not so much a matter of confusion, but of careful research.
I *think* all code that is syntactically correct in 2.4 is also
syntactically correct in 2.6 - but only be
> The documentation for the ast module states that it "helps to find out
> programmatically what the current grammar looks like". I can't find
> any reference (even when reading the code) on how you should go about
> this, other than checking the sys.version number and reading up on the
> changes.
Orestis Markou wrote:
On Tue, Oct 7, 2008 at 5:39 PM, Terry Reedy <[EMAIL PROTECTED]> wrote:
Orestis Markou wrote:
Hello,
I'm the developer of PySmell ( http://github.com/orestis/pysmell ), a
static analysis/intellisense provider for Python. I am targeting
Python 2.4 code so I'm using the comp
On Tue, Oct 7, 2008 at 5:39 PM, Terry Reedy <[EMAIL PROTECTED]> wrote:
> Orestis Markou wrote:
>>
>> Hello,
>>
>> I'm the developer of PySmell ( http://github.com/orestis/pysmell ), a
>> static analysis/intellisense provider for Python. I am targeting
>> Python 2.4 code so I'm using the compiler pa
Orestis Markou wrote:
Hello,
I'm the developer of PySmell ( http://github.com/orestis/pysmell ), a
static analysis/intellisense provider for Python. I am targeting
Python 2.4 code so I'm using the compiler package.
I've been toying around yesterday with the ast module in Python 2.6
and it seems
SMALLp a écrit :
> Hy!
> I have question. After short goggling, I haven't found anything good. So
> my question is:
> I wrote a program in python and i Get .py files and some .pyc in working
> folder. Now i want program tu run under windows, so i need to get exe
> files or something.
Strictly s
"SMALLp" schrieb
> I have question. After short goggling, I haven't found
> anything good. So my question is:
> I wrote a program in python and i Get .py files and some
> .pyc in working folder. Now i want program tu run under
> windows, so i need to get exe files or something.
>
If python is
SMALLp wrote:
> Hy!
> I have question. After short goggling, I haven't found anything good. So
> my question is:
> I wrote a program in python and i Get .py files and some .pyc in working
> folder. Now i want program tu run under windows, so i need to get exe
> files or something.
> And what do
On Oct 21, 2007, at Oct 21:2:05 PM, Gabriel Genellina wrote:
The parseFile function does exactly that, along with this comment:
thanks!
bb
--
Brian Blais
[EMAIL PROTECTED]
http://web.bryant.edu/~bblais
--
http://mail.python.org/mailman/listinfo/python-list
En Sun, 21 Oct 2007 14:33:00 -0300, Brian Blais <[EMAIL PROTECTED]>
escribió:
> On Oct 21, 2007, at Oct 21:1:15 PM, Gabriel Genellina wrote:
>> The comment itself is not a problem; but the last line in the
>> source must
>> end in a newline.
>
> then, even if it is known problem, the docs are w
On Oct 21, 2007, at Oct 21:1:15 PM, Gabriel Genellina wrote:
En Sun, 21 Oct 2007 13:36:46 -0300, Brian Blais <[EMAIL PROTECTED]>
escribi�:
I am experiencing a problem with the compiler module. Is this a bug,
or am I doing something wrong?
I think it's a well-known fact...
it seems like a
En Sun, 21 Oct 2007 13:36:46 -0300, Brian Blais <[EMAIL PROTECTED]>
escribi�:
> I am experiencing a problem with the compiler module. Is this a bug,
> or am I doing something wrong?
I think it's a well-known fact...
> it seems like a comment at the end breaks the parse command, but not
> pars
Bruno Desthuilliers wrote:
> Bjoern Schliessmann a écrit :
>> I'm not really about the syntax of your question,
^(sure)
>
> lol !-)
;) It wasn't mean ironically, I really forgot the "sure".
Regards,
Björn
--
BOFH excuse #322:
Your Pentium has a heating problem - try coolin
Bjoern Schliessmann a écrit :
> anton a wrote:
>
>>Someone knows since as I can obtain the information detailed about
>>the compiler of Python? (Table of tokens, lists of productions of
>>the syntactic one , semantic restrictions...)
>
>
> I'm not really about the syntax of your question,
lol !
> Someone knows since as I can obtain the information detailed about the
> compiler of Python? (Table of tokens, lists of productions of the
> syntactic one , semantic restrictions...)
The EBNF grammar is in Grammar/Grammar; this also implies the list
of tokens. Another list of tokens in Include/t
anton a wrote:
> Someone knows since as I can obtain the information detailed about
> the compiler of Python? (Table of tokens, lists of productions of
> the syntactic one , semantic restrictions...)
I'm not really about the syntax of your question, but I'd try
looking at the source code.
Regards
On Mar 23, 1:10 pm, Efrat Regev <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm trying to write something that will translate Python code to
> pseudo-code (for teaching purposes). Googling around indicated that the
> compiler module is pertinent, especially creating a visitor to walk the
> ge
VS2003 : http://vecchio56.free.fr/VCToolkitSetup.exe
> Hello:
> I have interesting external modules that I want to incorporate to
> python 2.4.3 and python 2.5b2 also. Some of them requires C/C++
> compiler. I work with Win XP Sp2 and have installed VC2005 express (I
> do not know if the compiler
[EMAIL PROTECTED] wrote:
> Under this circumstances I tried to find the VC7 compiler from
> microsoft sites, however it deflect to the new version of VS2005, so I
> "lost the cord and the goat" .
> I do not know what to do. Does anybody has some guidelines about this
> matter?
You need to use VS 2
Easy, easy... Use py2exe:
http://starship.python.net/crew/theller/py2exe/
--
http://mail.python.org/mailman/listinfo/python-list
"Roch " <[EMAIL PROTECTED]> wrote:
> I am begenning to study python programing language and I was
> wondering how do I make an executable code with the interpreter
> ...like if i have my code in a text file.
if you have your code in a text file and you want to run it, just run the
"python" in
Hi
I am begenning to study python programing language and I was wondering how do I make an executable code with the interpreter ...like if i have my code in a text file.
thank you
Roch
--
http://mail.python.org/mailman/listinfo/python-list
Title: RE: Compiler benefits (was: The Industry choice)
[EMAIL PROTECTED]
#- I think your point was that the checking present in modern Fortran
#- compilers, or PyCheckers, but absent from core Python, is a net
#- benefit. That I grant. I'm reluctant to argue for a change in
#- P
45 matches
Mail list logo