From: "R. Bastian" <rbastian@free.fr>
To: ntg-context@ntg.nl
Subject: Re: What happened with sectionworld?
Date: Wed, 29 Apr 2009 18:46:54 +0200 [thread overview]
Message-ID: <20090429184654.740d27cf@KUBUNTU64> (raw)
In-Reply-To: <fe8d59da0904290855n8609c65rb3556581262b7f06@mail.gmail.com>
On Wed, 29 Apr 2009 17:55:05 +0200
luigi scarso <luigi.scarso@gmail.com> scribit:
> >
> >
> > May be that ConTeXt is not a 'context free language' ;-)
> > than it will be difficult to express something in a BNF grammar
> > http://en.wikipedia.org/wiki/Backus-Naur_form.
> >
> hmm.
> Context is a macro package in TeX language which is Turing Complete.
>
>
> > But if (ConTeXt == formal_language), it should be possible to
> > develop TEXT, NUMBER, DIMENSION, REFERENCE, etc
> > and also to add examples for "[optional user data]".
> >
> hmm
> I'm not sure that ConTeXt == TeX (but it seems YES) ,
> I'm nor sure that TeX is a context free language too,
> in the sense that I never see a BNF grammar of TeX .
(chap.24-26 of the Texbook are embryos of a grammar, but they are not usable
like the grammar of Pascal or Python)
> I suspect that TeX is not a cfl .
>
> Anyway,
> lpeg can make the thing easier
>
> --
> luigi
I think that something user-friendly could be do in a cooperative wiki (in the between, i found
http://texshow.contextgarden.net/) beginning with
CONTEXT_SOURCE ::= PREAMBLE "\starttext" TEXT "\stoptext" | CONTEXT_SOURCE
TEXT ::= STARTSTOPS | SETUPS | DEFINES | OTHERS [ TEXT
and so on.
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2009-04-29 16:46 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-28 17:42 Henning Hraban Ramm
2009-04-28 18:53 ` Wolfgang Schuster
2009-04-28 21:25 ` Henning Hraban Ramm
2009-04-29 8:24 ` Hans Hagen
2009-04-29 10:24 ` Wolfgang Schuster
2009-04-29 12:35 ` R. Bastian
2009-04-29 12:54 ` Wolfgang Schuster
2009-04-29 15:07 ` Idris Samawi Hamid ادريس سماوي حامد
2009-04-29 15:43 ` R. Bastian
2009-04-29 15:55 ` luigi scarso
2009-04-29 16:46 ` R. Bastian [this message]
2009-04-29 18:00 ` luigi scarso
2009-04-29 21:16 ` R. Bastian
2009-04-29 21:24 ` BNF grammar for ConTeXt (was: What happened with sectionworld?) Wolfgang Schuster
2009-04-30 7:48 ` luigi scarso
2009-04-30 8:16 ` R. Bastian
2009-04-30 8:57 ` luigi scarso
2009-04-30 10:05 ` R. Bastian
2009-04-30 10:12 ` luigi scarso
2009-04-30 20:03 ` R. Bastian
2009-04-29 15:57 ` footnote numbers size in heads Horacio Suarez
2009-04-29 21:17 ` Wolfgang Schuster
2009-04-29 18:14 ` What happened with sectionworld? Wolfgang Schuster
2009-04-29 18:23 ` Idris Samawi Hamid ادريس سماوي حامد
2009-04-29 18:27 ` Hans Hagen
2009-04-29 18:31 ` Wolfgang Schuster
2009-04-29 18:34 ` Wolfgang Schuster
2009-04-29 18:40 ` Idris Samawi Hamid ادريس سماوي حامد
2009-04-29 13:12 ` Hans Hagen
2009-04-29 13:53 ` Mohamed Bana
2009-04-29 15:11 ` Henning Hraban Ramm
2009-04-29 21:07 ` Wolfgang Schuster
2009-04-30 15:40 ` Henning Hraban Ramm
2009-04-30 17:06 ` Wolfgang Schuster
2009-04-30 18:33 ` Henning Hraban Ramm
2009-04-30 18:46 ` Wolfgang Schuster
[not found] <mailman.508.1241031213.3589.ntg-context@ntg.nl>
2009-04-29 19:01 ` Vyatcheslav Yatskovsky
2009-04-29 19:05 ` Wolfgang Schuster
2009-04-29 19:13 ` Otared Kavian
2009-04-29 19:15 ` Wolfgang Schuster
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=20090429184654.740d27cf@KUBUNTU64 \
--to=rbastian@free.fr \
--cc=ntg-context@ntg.nl \
/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 NNTP newsgroup(s).