Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: Python Macros

Reply
Thread Tools

Re: Python Macros

 
 
Arich Chanachai
Guest
Posts: n/a
 
      10-04-2004
Josiah Carlson wrote:

>>How hard/easy is it to extend the Python syntax? Perhaps there are
>>
>>

>
>Check out the tokenizer module.
>
>
>
>

Is this easy to use? Are there good tutorials?

>>macro facilities for this?
>>
>>

>
>Python has no macro facilities.
>
>
>
>

Really? I read that Python was just like Scheme in that it had macro
facilities.

>>I'd like to add messages and message
>>passing, for example.
>>
>>

>
>Macros are not necessary for message passing. There are at least a
>dozen message passing libraries for inter and intra-machine
>communications, including versions that work with DCOM, Corba, MPI, and
>I'm sure just about anything else you could want to do.
>
>Heck, writing message passing with TCP sockets is even quite easy, if
>you have experience with writing network protocols.
>
>If you are just wanting to pass messages in your program, and you are
>using threads, use the Queue module (in 2.4 it will be faster).
>
> - Josiah
>
>
>

Great, thanks.
 
Reply With Quote
 
 
 
 
Bruno Desthuilliers
Guest
Posts: n/a
 
      10-05-2004
Arich Chanachai wrote:
> Josiah Carlson wrote:
>

(snip)
>> Python has no macro facilities.
>>

> Really? I read that Python was just like Scheme in that it had macro
> facilities.
>

Where ?

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
macros-loop? calling macros X times? Andrew Arro C Programming 2 07-24-2004 09:52 AM
Explanation of macros; Haskell macros mike420@ziplip.com Python 80 11-07-2003 02:22 AM
Re: Explanation of macros; Haskell macros Michael T. Babcock Python 0 11-03-2003 01:54 PM
Re: Explanation of macros; Haskell macros mike420@ziplip.com Python 5 11-01-2003 01:09 AM
Re: Explanation of macros; Haskell macros mike420@ziplip.com Python 1 10-07-2003 04:07 PM



Advertisments