2017-01-08 00:06:09 +00:00
|
|
|
2017-01-07 Matt Wette <mwette@alumni.caltech.edu>
|
|
|
|
|
|
|
|
* lang/c99/body.scm (read-cpp-line): cpp statement should not
|
|
|
|
include newline? Changed to unread final newline.
|
|
|
|
|
|
|
|
* lang/util.scm: add report-error: prints msg w/ file, line
|
|
|
|
|
|
|
|
* parse.scm (make-lalr-parser): changed printout of parse error to
|
|
|
|
(throw 'parse-error . args) and expect the full parser to catch
|
|
|
|
the error
|
|
|
|
|
|
|
|
* lang/c99/mach.scm (c99-spec): from
|
|
|
|
2017-01-07 Jan Nieuwenhuizen <janneke@gnu.org>
|
|
|
|
mising unquote in output sx for goto: `(goto $2) => `(goto ,$2)
|
|
|
|
|
|
|
|
2017-01-06 Matt Wette <mwette@alumni.caltech.edu>
|
|
|
|
|
|
|
|
* lang/c99/parser.scm: default parser #:mode is now 'code; done
|
|
|
|
since the CPP should now be working (??)
|
|
|
|
|
|
|
|
* lalr.scm (process-spec): in add-el changed memq to member since
|
|
|
|
we are using strings for terminals
|
|
|
|
|
2017-01-02 15:42:23 +00:00
|
|
|
2017-01-02 Matt Wette <mwette@alumni.caltech.edu>
|
|
|
|
|
2017-01-06 16:03:41 +00:00
|
|
|
* lang/c99/mach.scm (c99-spec): added hooks (cpp-ok!, no-cpp!) to
|
|
|
|
provide handshaking between parser and lexer wrt when the lexer
|
|
|
|
can pass CPP statements to the parser
|
|
|
|
|
2017-01-02 15:42:23 +00:00
|
|
|
* lang/c99/cppbody.scm (expand-cpp-mref): skip ws between ident
|
|
|
|
and left paren
|
|
|
|
|
2017-01-02 03:40:27 +00:00
|
|
|
2017-01-01 Matt Wette <mwette@alumni.caltech.edu>
|
|
|
|
|
|
|
|
* lang/c99/body.scm (gen-c-lexer): in code mode now expands includes
|
|
|
|
|
|
|
|
* lang/c99/pprint.scm (pretty-print-c99): added enum-dev w/o name
|
|
|
|
|
|
|
|
2016-11-25 Matt Wette <mwette@alumni.caltech.edu>
|
2016-12-26 03:31:09 +00:00
|
|
|
|
|
|
|
* added support for ellipsis to lang/c99/cpp.scm
|
|
|
|
|
2017-01-02 03:40:27 +00:00
|
|
|
2016-11-24 Matt Wette <mwette@alumni.caltech.edu>
|
2016-12-26 03:31:09 +00:00
|
|
|
|
|
|
|
* added (ellipsis) to lang/c99/pprint.scm
|
|
|
|
|
2017-01-02 03:40:27 +00:00
|
|
|
2016-04-09 Matt Wette <mwette@alumni.caltech.edu>
|
2016-12-17 21:34:43 +00:00
|
|
|
|
|
|
|
* bison.scm: new file providing make-lalr-machin/bison. It is
|
|
|
|
similar to make-lalr-machine but uses external bison program
|
|
|
|
instead of the default from-scratch lalr code.
|
|
|
|
|
2017-01-02 03:40:27 +00:00
|
|
|
2016-03-04 Matt Wette <mwette@alumni.caltech.edu>
|
2016-12-17 21:34:43 +00:00
|
|
|
|
|
|
|
* lalr.scm: changed grammar parser to interpret $string as
|
|
|
|
terminal. This saves typing a quote in front.
|
|
|
|
|
2017-01-02 03:40:27 +00:00
|
|
|
Copyright (C) 2015-2017 Matthew R. Wette
|
2016-12-17 21:34:43 +00:00
|
|
|
|
|
|
|
Copying and distribution of this file, with or without modification,
|
|
|
|
are permitted in any medium without royalty provided the copyright
|
|
|
|
notice and this notice are preserved. This file is offered as-is,
|
|
|
|
without any warranty.
|
|
|
|
|