paper-with-me

Papers

Multi Language Models for On-the-Fly Syntax Highlighting

2025-10-05 · Marco Edoardo Palma, Pooja Rani, Harald C. Gall arxiv

Syntax highlighting is a critical feature in modern software development environments, enhancing code readability and developer productivity. However, delivering accurate highlighting in real time remains challenging for online and web-based development tools due to strict time and memory constraints on backend services. These systems must serve highlights rapidly and frequently, even when code is partially valid or invalid. This has led to on-the-fly syntax highlighting, where visual annotations are generated just before content is served, often at high request rates and under incomplete input conditions. To meet these demands efficiently, state-of-the-art models use deep learning to learn the behavior of brute-force syntax highlighting resolvers, tools that are easy to implement but too slow for production. Through the Deep Abstraction process, brute-force strategies are encoded into fast statistical models that achieve both high accuracy and low-latency inference. Despite their success, such models face key challenges: they support only one programming language per model, require large datasets from slow brute-force generators, and involve resource-intensive training. In multi-language environments, this means maintaining multiple independent models, increasing system complexity and operational cost. This work addresses these issues by introducing a unified model capable of highlighting up to six mainstream programming languages, reducing deployment complexity by a factor of six and improving performance on unseen languages. A novel normalization technique significantly enhances model generalization, while few-shot learning experiments show that a small number of oracle samples can replace large datasets, minimizing dependence on brute-force generators. Combined, these innovations enable efficient, scalable, and cost-effective syntax highlighting across diverse programming languages.

📄 PDF Abstract BibTeX arXiv:2510.04166

Code (0)

등록된 구현이 없습니다.

Tasks

Few-Shot Learning

Similar Papers 제목 키워드 기반

Basic concepts and tools for the Toki Pona minimal and constructed language: description of the language and main issues; analysis of the vocabulary; text synthesis and syntax highlighting; Wordnet synsets

2017-12-26 · Renato Fabbri

A minimal constructed language (conlang) is useful for experiments and comfortable for making tools. The Toki Pona (TP) conlang is minimal both in the vocabulary (with only 14 letters and 124 lemmas) and in the (about) 1…

Sentence

SysTemp: A Multi-Agent System for Template-Based Generation of SysML v2

2025-06-20 · Yasmine Bouamra, Bruno Yun, Alexandre Poisson, Frédéric Armetta

The automatic generation of SysML v2 models represents a major challenge in the engineering of complex systems, particularly due to the scarcity of learning corpora and complex syntax. We present SysTemp, a system aimed …

StructTransform: A Scalable Attack Surface for Safety-Aligned Large Language Models

2025-02-17 · Shehel Yoosuf, Temoor Ali, Ahmed Lekssays, Mashael AlSabah 외

In this work, we present a series of structure transformation attacks on LLM alignment, where we encode natural language intent using diverse syntax spaces, ranging from simple structure formats and basic query languages…

Safety Alignment

MM-Eval: A Hierarchical Benchmark for Modern Mongolian Evaluation in LLMs

2024-11-14 · Mengyuan Zhang, Ruihui Wang, Bo Xia, Yuan Sun 외

Large language models (LLMs) excel in high-resource languages but face notable challenges in low-resource languages like Mongolian. This paper addresses these challenges by categorizing capabilities into language abiliti…

General KnowledgeMath

Eclipse CDT code analysis and unit testing

2018-11-15 · PeerJ Preprints 2018 11 · Shaun C. D'Souza

In this paper we look at the Eclipse IDE and its support for CDT (C/C++ Development Tools). Eclipse is an open source IDE and supports a variety of programming languages including plugin functionality. Eclipse supports t…

Code CompletionCode Generation