Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: simplified Python parsing question

Reply
Thread Tools

Re: simplified Python parsing question

 
 
Dieter Maurer
Guest
Posts: n/a
 
      07-30-2012
"Eric S. Johansson" <(E-Mail Removed)> writes:

> When you are sitting on or in a name, you look to the left or look to
> the right what would you see that would tell you that you have gone
> past the end of that name. For example
>
> a = b + c
>
> if you are sitting on a, the boundaries are beginning of line and =,
> if you are sitting on b, the boundaries are = and +, if you are
> sitting on c, the boundaries are + and end of line. a call the region
> between those boundaries the symbol region.


Check the lexical definitions. They essentially define, what
a "symbol region" is.

In essence, you have names, operators, literals whitespace and comments --
each with quite a simple definition.

 
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
Re: simplified Python parsing question Eric S. Johansson Python 6 08-03-2012 08:04 PM
Re: simplified Python parsing question Laszlo Nagy Python 0 07-30-2012 02:59 PM
Re: simplified Python parsing question Eric S. Johansson Python 0 07-30-2012 09:57 AM
simplified Python parsing question Eric S. Johansson Python 2 07-30-2012 06:17 AM
Cisco Networking Simplified - book review and a sample chapter Michael Cisco 0 11-19-2003 11:09 PM



Advertisments