public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
From: "Glenn Ervinat home" <glennervin@cableone.net>
To: <speakup@braille.uwo.ca>
Subject: Re: parsing math equations
Date: Mon, 9 Jun 2003 18:54:16 -0500	[thread overview]
Message-ID: <006601c32ee2$6fb31600$a600a8c0@glenn> (raw)
In-Reply-To: <000701c32ecc$a8d9adb0$691817cf@130SetBC01>

Maybe using parenthesis would help.

----- Original Message ----- 
From: "Tyler Spivey" <tspivey8@softhome.net>
To: <speakup@braille.uwo.ca>
Sent: Monday, June 09, 2003 4:17 PM
Subject: ot: parsing math equations


sorry if this's off topic, but here goes:
i'm writing a program in python to do varius math things.
factoring, radicals, etc. but my major limitation is that it can't
do anything with algebra equations.
2x^2+3x+4x-x+3y
etc...
would a regular expression be the answer for breaking these down into there
component parts?
or do I need a full-blown parser for doing that?
probably  the parser - but i'm not sure if any python based solutions exist.
they do, but I'm not sure if they are what i want.
i don't want to do any complex coding. this's just a spare-time project for
getting homework done faster, and i don't want to spend hours and hours on
it. it's currently topped almost 10k, but most of that are the docs
contained in one very long tripple-quoted string.
and all this coming from the guy who previously hated python without really
trying it first...


_______________________________________________
Speakup mailing list
Speakup@braille.uwo.ca
http://speech.braille.uwo.ca/mailman/listinfo/speakup



  reply	other threads:[~ UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
 ot: " Tyler Spivey
 ` Glenn Ervinat home [this message]
 ` Owen Patrick Smith
   ` Charles Crawford
     ` Chuck Hallenbeck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='006601c32ee2$6fb31600$a600a8c0@glenn' \
    --to=glennervin@cableone.net \
    --cc=speakup@braille.uwo.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).