首页> 外文会议>Ivannikov Ispras Open Conference >Generation of Code for Reading Data from the Declarative File Format Specifications Written in Language FlexT
【24h】

Generation of Code for Reading Data from the Declarative File Format Specifications Written in Language FlexT

机译:从FlexT语言编写的声明性文件格式规范中读取数据的代码生成

获取原文

摘要

The language FlexT (Flexible Types) is intended for specification of binary data formats. The language is declarative and designed to be well understood for human readers. Its main elements are the data type declarations, which look very much like the usual type declarations of the imperative programming languages, but are more flexible. While the primary purpose of the language FlexT development was to make the binary data understandable by displaying them according to the format specifications, recently we have implemented the code generator, which can produce data reading code in some imperative languages from the specifications. By now we have implemented the code generation for the most widely used FlexT data types, but some complex types like that used in specifications of machine instructions' encoding are not supported yet. The current capabilities of the code generator are well characterized by that it have successfully produced a full-featured data reader code for the well-known for the GIS community Shape file format. In the article we first give a review of the features of the modern projects oriented to specification of binary file formats and consider their code generation capabilities. Then we briefly review the main features of the FlexT language. Finally we describe the main approaches that we use for the code generation.
机译:FlexT(灵活类型)语言旨在用于二进制数据格式的规范。该语言是声明性的,旨在使人类读者容易理解。它的主要元素是数据类型声明,它看起来非常类似于命令式编程语言的常规类型声明,但是更加灵活。尽管FlexT开发语言的主要目的是通过根据格式规范显示二进制数据来使二进制数据易于理解,但最近我们实现了代码生成器,该生成器可以根据规范中的某些命令性语言生成数据读取代码。到目前为止,我们已经为最广泛使用的FlexT数据类型实现了代码生成,但是尚不支持某些复杂类型,例如用于机器指令编码规范的类型。该代码生成器的当前功能的特点是,它已成功生成了以GIS社区Shape文件格式众所周知的全功能数据读取器代码。在本文中,我们首先回顾了面向二进制文件格式规范的现代项目的功能,并考虑了其代码生成功能。然后,我们简要回顾一下FlexT语言的主要功能。最后,我们描述了用于代码生成的主要方法。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号