COOLIO:一种面向课堂对象语言的语言支持扩展
COOLIO: A Language Support Extension for the Classroom Object Oriented Language
摘要:
COOL是一种面向对象的程序设计语言,用于在许多本科生和研究生课程中教授编译器设计。由于大多数学生不熟悉该语言,代码编辑器和IDE通常缺乏对COOL的支持,因此用COOL编写代码和测试程序对学生来说是一种负担,导致他们无法完全理解该语言和编译器的许多重要和高级功能。在这篇工具论文中,我们描述了COOLIO,一个在流行的VSCode IDE中支持COOL的扩展。COOLIO提供(i)通过词法分析和解析对COOL语言的语法突出显示支持,(ii)语义感知的自动完成功能,帮助学生编写更少的代码并减轻必须记住不熟悉的COOL语法和语法的负担,以及(iii)来自底层COOL解释器/编译器的相关反馈(例如,错误信息、键入信息)通过VSCode编辑器向学生提供调试帮助。我们相信,COOLIO将帮助学生享受编写COOL程序,从而学习和欣赏更先进的编译器概念。
英文摘要:
COOL is an Object-Oriented programming language used to teach compiler design in many undergraduate and graduate courses. Because most students are unfamiliar with the language and code editors and IDEs often lack the support for COOL, writing code and test programs in COOL are a burden to students, causing them to not fully understand many important and advanced features of the language and compiler. In this tool paper, we describe COOLIO,an extension to support COOL in the popular VSCode IDE. COOLIOprovides (i) syntax highlighting supports for the COOL language through lexing and parsing, (ii) semantics-aware autocompletion features that help students write less code and reduce the burden of having to remember unfamiliar COOL grammar and syntax, and (iii) relevant feedback from the underlying COOL interpreter/compiler (e.g., error messages, typing information) to the students through VSCode editor to aid debugging. We believe that COOLIO will help students enjoy writing COOL programs and consequently learn and appreciate more advanced compiler concepts.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。