【24h】

A Pretty Good Formatting Pipeline

机译:一个非常好的格式化管道

获取原文

摘要

Proper formatting makes the structure of a program apparent and aids program comprehension. The need to format code arises in code generation and transformation, as well as in normal reading and editing situations. Commonly used pretty-printing tools in transformation frameworks provide an easy way to produce indented code that is fairly readable for humans, without reaching the level of purpose-built reformatting tools, such as those built into IDEs. This paper presents a library of pluggable components, built to support style-based formatting and reformatting of code, and to enable further experimentation with code formatting.
机译:适当的格式使程序的结构明显和辅助程序理解。需要格式化代码的代码生成和转换,以及正常读取和编辑情况。转换框架中常用的漂亮印刷工具提供了一种简单的方法,可以生产用于人类的缩进代码,而不达到专用重新格式化工具的水平,例如内置于IDE中的工具。本文介绍了可插拔组件库,以支持基于样式的格式和重新格式化代码,并通过代码格式实现进一步的实验。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利