From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bix Newsgroups: gmane.emacs.help Subject: Re: Parsing Date: Sun, 30 Nov 2014 20:28:01 +0100 Organization: A noiseless patient Spider Message-ID: <87sih0trni.fsf@nothing.invalid> References: <873891xeg9.fsf@nothing.invalid> <878uiswx59.fsf@debian.uxu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1417375829 9058 80.91.229.3 (30 Nov 2014 19:30:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 30 Nov 2014 19:30:29 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 30 20:30:23 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XvACK-0000XH-Ga for geh-help-gnu-emacs@m.gmane.org; Sun, 30 Nov 2014 20:30:20 +0100 Original-Received: from localhost ([::1]:51532 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XvACK-0007nU-2p for geh-help-gnu-emacs@m.gmane.org; Sun, 30 Nov 2014 14:30:20 -0500 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Injection-Info: mx02.eternal-september.org; posting-host="671292eeb3ca20c896905b421e16f935"; logging-data="4017"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+qsLGQl7TKNkO9tmuBN2yI" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:WI/ZQ8mhEelqE4W22amrg7upxyI= sha1:Mf2L58Y168TpaHfjz4hQTKKwxi4= Original-Xref: usenet.stanford.edu gnu.emacs.help:209046 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:101324 Archived-At: Emanuel Berg writes: > Bix writes: > >> Hi, googling around I found that one suggested >> method for parsing is to use Senator, but so far I >> find the documentation a bit complicated for me and >> not very clear. It's probably my limitation, I'm >> using ANTLR on other context. > > What do you want to parse? (Or even better: what > problem do you want to solve?) > > Are we talking parsing as in CS compiler design or > just putting together a bunch of commands with pipes > in between? Or extracting data from some markup? Or > what? I like to convert a test file that pertain to some grammar into the relative AST, so I think that parsing as in CS compiler design is the closer description, but I may be wrong. Then I need some api to navigate the AST generated, or more simple do some walking on the AST generated. Kindest Regards. Bix.