XYlearn / xtc-1

fork from xtc/superc to experiment in the context of the TypeChef project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fork from xtc/superc to experiment in the context of the TypeChef project

http://cs.nyu.edu/rgrimm/xtc/

Commited to github to make changes transparent. If you are interested in using Xtc or SuperC please refer to the original site.

Changes in SuperC for use in TypeChef

  • Enable error reporting. Silently failing when a header file is not found is unsound. Added error reporting also in other locations.

  • Extend error reporting to report location and presence condition

  • No Buildin Pathes or Macros. They depend on the system (and are different in different configurations) and should not be set by the preprocessor. Unsound behavior.

  • Disabled unsound header guard heuristic.

  • Replicate TypeChef's behavior with regard to non-Boolean macros: Always reduce to Boolean, assume value 0 for undefined macros (like cpp). Issuing a warning.

(Several of these were available as options. Setting appropriate defaults)

About

fork from xtc/superc to experiment in the context of the TypeChef project


Languages

Language:Java 83.7%Language:C 12.7%Language:Shell 1.3%Language:Python 0.7%Language:Bison 0.7%Language:TeX 0.2%Language:C++ 0.2%Language:Prolog 0.2%Language:Makefile 0.1%Language:Ruby 0.1%Language:Perl 0.1%Language:R 0.0%Language:Awk 0.0%Language:CSS 0.0%Language:Scala 0.0%Language:Objective-C 0.0%