首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > unitn-creme-caramel-project

unitn-creme-caramel-project

  • 资源大小:13.43 MB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

Pointers and records Introduce in Creme CAraMeL the possibility to use pointers and record as follows: Pointers Add to the language the possibility to use pointers as in the following examples: • declaration of the pointer variables: var p : ^int; var q: ^^float; • referencing and dereferencing pointers: x := 1; p := @x; y := ^p + 4; the result will be y = 5. Notice that pointers can have an arbitrary depth (number of “ˆ” in the declaration), and their behavior should be similar to the one used in other languages (e.g., C). Record Extend the language to give a possibility to define and use the record type, by making the necessary modifications so that all of the following situations are supported: • Definition of record type

文 件 列 表

caceffo
01-IntroductionToLFC.pdf
02-CompilersAndInterpreters.pdf
03-LexerAndParserGenerators.pdf
04-MemoryManagement.pdf
05-Interpreter.pdf
06-Array.pdf
07-08-Scoping-Subprograms.pdf
09-SubprogramsInCremeCaramel.pdf
11-IntermediateLanguageArrayAndSubprograms.pdf
12-CompilerExercises.pdf
13-TranslatingToTheTargetCode.pdf
14-CompilerExercises-2.pdf
15-RevisitingInterpreter.pdf
16-CompilerExercises-3.pdf

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP