Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #44318

Re: Parsing exercise in Forth

Newsgroups comp.lang.forth
Date 2015-12-23 05:07 -0800
References <14a2b0f2-1137-44c5-85ca-e9d52bd7ccac@googlegroups.com> <n4urgu$fhu$1@dont-email.me>
Message-ID <156985fb-e010-48c6-bd54-e08cc9e77f37@googlegroups.com> (permalink)
Subject Re: Parsing exercise in Forth
From krishna.myneni@ccreweb.org

Show all headers | View raw


On Thursday, December 17, 2015 at 11:33:43 AM UTC-6, Gerry wrote:
> On 11/12/2015 05:08, krishna.myneni@ccreweb.org wrote:
> > For practice, try your hand at this parsing and string field
> > validation exercise, which will actually be useful in an
> > application I am writing. It shouldn't be too difficult,
> > although I haven't done this myself, yet. Solutions in
> > Forth-like languages are welcome, if you want to show off
> > your language, but I'm interested in standard Forth solutions.
> >
> > PROBLEM: Parse a string specifying the electron configuration
> > of an atom into a array of the number of electrons within
> > each subshell. Validate the string fields.
> >
> 
> Sorry about the late response.
> 

Thanks! I like your subshell parsing words.

Krishna

> I wondered what a solution would look like using the Forth interpreter 
> to parse the input string via the GForth
> EXECUTE-PARSING ( ... caddr u xt -- ... )
> ...

Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Parsing exercise in Forth krishna.myneni@ccreweb.org - 2015-12-10 21:08 -0800
  Re: Parsing exercise in Forth Raimond Dragomir <raimond.dragomir@gmail.com> - 2015-12-11 00:09 -0800
    Re: Parsing exercise in Forth krishna.myneni@ccreweb.org - 2015-12-11 08:59 -0800
    Re: Parsing exercise in Forth krishna.myneni@ccreweb.org - 2015-12-11 09:02 -0800
  Re: Parsing exercise in Forth Gerard Sontag <gerardsontag@gmail.com> - 2015-12-11 02:28 -0800
    Re: Parsing exercise in Forth krishna.myneni@ccreweb.org - 2015-12-11 09:09 -0800
  Re: Parsing exercise in Forth Pablo Hugo Reda <pabloreda@gmail.com> - 2015-12-11 06:02 -0800
    Re: Parsing exercise in Forth krishna.myneni@ccreweb.org - 2015-12-11 09:12 -0800
  Re: Parsing exercise in Forth "WJ" <w_a_x_man@yahoo.com> - 2015-12-11 17:12 +0000
    Re: Parsing exercise in Forth krishna.myneni@ccreweb.org - 2015-12-11 09:24 -0800
    Re: Parsing exercise in Forth "WJ" <w_a_x_man@yahoo.com> - 2015-12-12 17:41 +0000
  Re: Parsing exercise in Forth John Misciagno <jfmisciagno@gmail.com> - 2015-12-11 15:56 -0800
    Re: Parsing exercise in Forth krishna.myneni@ccreweb.org - 2015-12-11 20:21 -0800
      Re: Parsing exercise in Forth John Misciagno <jfmisciagno@gmail.com> - 2015-12-11 22:21 -0800
  Re: Parsing exercise in Forth Julian Fondren <julian.fondren@gmail.com> - 2015-12-11 19:21 -0800
    Re: Parsing exercise in Forth krishna.myneni@ccreweb.org - 2015-12-11 20:35 -0800
    Re: Parsing exercise in Forth "WJ" <w_a_x_man@yahoo.com> - 2015-12-12 20:08 +0000
      Re: Parsing exercise in Forth Julian Fondren <julian.fondren@gmail.com> - 2015-12-12 17:32 -0800
      Re: Parsing exercise in Forth Albert van der Horst <albert@spenarnc.xs4all.nl> - 2015-12-13 11:21 +0000
        Re: Parsing exercise in Forth Julian Fondren <julian.fondren@gmail.com> - 2015-12-13 05:14 -0800
          Re: Parsing exercise in Forth Albert van der Horst <albert@spenarnc.xs4all.nl> - 2015-12-13 17:33 +0000
  Re: Parsing exercise in Forth humptydumpty <ouatubi@gmail.com> - 2015-12-12 00:14 -0800
    Re: Parsing exercise in Forth humptydumpty <ouatubi@gmail.com> - 2015-12-12 03:48 -0800
    Re: Parsing exercise in Forth krishna.myneni@ccreweb.org - 2015-12-12 14:52 -0800
      Re: Parsing exercise in Forth humptydumpty <ouatubi@gmail.com> - 2015-12-13 01:59 -0800
  Re: Parsing exercise in Forth franck.bensusan@gmail.com - 2015-12-12 02:53 -0800
    Re: Parsing exercise in Forth krishna.myneni@ccreweb.org - 2015-12-12 14:58 -0800
  Re: Parsing exercise in Forth Doug Hoffman <glidedog@gmail.com> - 2015-12-12 10:33 -0500
  Re: Parsing exercise in Forth krishna.myneni@ccreweb.org - 2015-12-12 14:47 -0800
  Re: Parsing exercise in Forth "WJ" <w_a_x_man@yahoo.com> - 2015-12-12 23:13 +0000
  Re: Parsing exercise in Forth humptydumpty <ouatubi@gmail.com> - 2015-12-13 10:28 -0800
  Re: Parsing exercise in Forth Gerry Jackson <gerry@jackson9000.fsnet.co.uk> - 2015-12-17 17:33 +0000
    Re: Parsing exercise in Forth krishna.myneni@ccreweb.org - 2015-12-23 05:07 -0800
  Re: Parsing exercise in Forth jg <josefg@gmail.com> - 2015-12-29 15:22 -0800

csiph-web