`
deepfuture
  • 浏览: 4413611 次
  • 性别: Icon_minigender_1
  • 来自: 湛江
博客专栏
073ec2a9-85b7-3ebf-a3bb-c6361e6c6f64
SQLite源码剖析
浏览量:80139
1591c4b8-62f1-3d3e-9551-25c77465da96
WIN32汇编语言学习应用...
浏览量:70398
F5390db6-59dd-338f-ba18-4e93943ff06a
神奇的perl
浏览量:103613
Dac44363-8a80-3836-99aa-f7b7780fa6e2
lucene等搜索引擎解析...
浏览量:286628
Ec49a563-4109-3c69-9c83-8f6d068ba113
深入lucene3.5源码...
浏览量:15056
9b99bfc2-19c2-3346-9100-7f8879c731ce
VB.NET并行与分布式编...
浏览量:67840
B1db2af3-06b3-35bb-ac08-59ff2d1324b4
silverlight 5...
浏览量:32295
4a56b548-ab3d-35af-a984-e0781d142c23
算法下午茶系列
浏览量:46079
社区版块
存档分类
最新评论

coc/r学习笔记-调用与安装

阅读更多

C# and C++ version. Copy the following files to a new directory:
Coco.exe the executable
Scanner.frame the frame file from which the scanner is generated
Parser.frame the frame file from which the parser is generated
Java version. Copy the following files to a new directory:
Coco.jar an archive containing all classes of Coco/R
Scanner.frame the frame file from which the scanner is generated
Parser frame the frame file from which the parser is generated
3.2 Invocation
Coco/R can be invoked from the command line as follows:
C# or C++: Coco fileName [Options]
Java: java -jar Coco.jar fileName [Options]
fileName is the name of the file containing the Cocol/R compiler description. As a
convention, compiler descriptions have the extension .ATG (for attributed grammar).
Options. The following options may be specified:
Options =
{ "-namespace" namespaceName /* in Java: "-package" packageName */
| "-frames" framesDirectory
| "-trace" traceString
}.
The user can specify a namespace (or package) to which the generated scanner and
parser should belong (e.g. at.jku.ssw.Coco). If no namespace is specified the
generated classes belong to the default namespace. In the C++ version, the namespace
name must be a simple identifier (e.g. MyProject).
The -frames option can be used to specify the dire

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics