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


Groups > comp.unix.programmer > #1134

Re: find library in C

From Rainer Weikusat <rweikusat@mssgmbh.com>
Newsgroups comp.unix.programmer
Subject Re: find library in C
Date 2011-08-12 20:21 +0100
Message-ID <87d3gaqvue.fsf@sapphire.mobileactivedefense.com> (permalink)
References <j21e88$fba$1@speranza.aioe.org> <4e453be5$0$31423$a729d347@news.telepac.pt> <87hb5mqzti.fsf@sapphire.mobileactivedefense.com> <4e457614$0$31419$a729d347@news.telepac.pt>

Show all headers | View raw


Rui Maciel <rui.maciel@gmail.com> writes:
> Rainer Weikusat wrote:
>
>> On UNIX(*) (as opposed to WinDOS), the traditional way to get a
>> parser is not 'write one in C++' but 'Yacc'.
>
> The term "traditional way" isn't a synonym for "appropriate
> solution".

Considering that you asserted that[*]

	In C, at least when compared to C++, I believe the need to
	develop your own custom library is even more pressing, as the
	language doesn't provide a set of standard data structures nor
	supports generic programming.

stating "No, you aren't required to implement your own parser when
using C because of what you consider to be shortcomings of this
language, but can use existing tools to have one generated" seems a
sensible reply to that. This is also nicely demonstrated by the fact
that you now, instead of claiming "there ain't no tools" switched to
"well, at least, there ain't no tools I believe C programmers should
use", a considerably weaker statement than the original one.

[...]

> As a side note, GNU bison also generates C++ parsers[1], which contradicts 
> your statement.

'Bison can generate C++ parses' cannot possibly contradict 'Yacc can
be used to generate C parsers and it is actually pretty common to use
it for that' because these two statements are completely independent
of each other.

Back to comp.unix.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

find library in C ZarkXe <zarkxe@gmail.com> - 2011-08-11 22:35 +0200
  Re: find library in C "Heinrich Wolf" <invalid@invalid.invalid> - 2011-08-11 23:16 +0200
    Re: find library in C Rui Maciel <rui.maciel@gmail.com> - 2011-08-12 15:50 +0100
      Re: find library in C Rui Maciel <rui.maciel@gmail.com> - 2011-08-12 16:20 +0100
  Re: find library in C Rui Maciel <rui.maciel@gmail.com> - 2011-08-12 15:29 +0100
    Re: find library in C "Heinrich Wolf" <invalid@invalid.invalid> - 2011-08-12 17:03 +0200
      Re: find library in C "Heinrich Wolf" <invalid@invalid.invalid> - 2011-08-12 17:09 +0200
      Re: find library in C Rui Maciel <rui.maciel@gmail.com> - 2011-08-12 16:31 +0100
    Re: find library in C Nicolas George <nicolas$george@salle-s.org> - 2011-08-12 16:24 +0000
      Re: find library in C Rui Maciel <rui.maciel@gmail.com> - 2011-08-12 18:58 +0100
        Re: find library in C Nicolas George <nicolas$george@salle-s.org> - 2011-08-12 19:16 +0000
          Re: find library in C Rui Maciel <rui.maciel@gmail.com> - 2011-08-13 13:42 +0100
            Re: find library in C Nicolas George <nicolas$george@salle-s.org> - 2011-08-13 15:06 +0000
        Re: find library in C Ian Collins <ian-news@hotmail.com> - 2011-08-13 11:40 +1200
          Re: find library in C Rui Maciel <rui.maciel@gmail.com> - 2011-08-13 11:08 +0100
      Re: find library in C William Ahern <william@wilbur.25thandClement.com> - 2011-08-12 12:58 -0700
        Re: find library in C Nicolas George <nicolas$george@salle-s.org> - 2011-08-12 20:31 +0000
          Re: find library in C William Ahern <william@wilbur.25thandClement.com> - 2011-08-12 14:47 -0700
          Re: find library in C Rui Maciel <rui.maciel@gmail.com> - 2011-08-13 14:30 +0100
            Re: find library in C William Ahern <william@wilbur.25thandClement.com> - 2011-08-13 18:54 -0700
    Re: find library in C Rainer Weikusat <rweikusat@mssgmbh.com> - 2011-08-12 18:55 +0100
      Re: find library in C Rui Maciel <rui.maciel@gmail.com> - 2011-08-12 19:37 +0100
        Re: find library in C Rainer Weikusat <rweikusat@mssgmbh.com> - 2011-08-12 20:21 +0100
          Re: find library in C Rui Maciel <rui.maciel@gmail.com> - 2011-08-13 10:23 +0100
            Re: find library in C Rainer Weikusat <rweikusat@mssgmbh.com> - 2011-08-13 14:53 +0100
  Re: find library in C "Heinrich Wolf" <invalid@invalid.invalid> - 2011-08-15 13:58 +0200

csiph-web