Simplifying code translation: Custom syntax language to C language transpiler

In today’s world, programming has become a very essential skill as it is used everywhere, from creating software’s for operating systems to analysis of patients’ health care data in biomedical engineering. Programmers usually face a lot of difficulties to understand beginner level coding languages having low-level syntax. The proposed study "Simplifying Code Translation: Custom Syntax Language to C Language Transpiler", targets the specified problem and provides the solution in a form of transpiler that converts the newly developed custom language (made up of high-level syntax) to C language. The developed tool minimizes the overall cost incurred during the code designing process. This transpiler consists of 4 main parts: preprocessor, lexer, parser and emitter. It first starts by creating preprocessor which handles preprocessor directives such as 'define' and 'include'. This preprocessed code is then passed onto lexer which tokenizes the code. The parser is responsible for creating Abstract Syntax Tree (AST) using the tokens provided. The final AST is then transformed to C program by the emitter. Then output C code maintains proper syntactic and semantic structure of the original custom syntax language code.

Authors

Institutions

Publication Details

Published
2025-02-06
DOI
https://doi.org/10.1109/cictn64563.2025.10932385
Citations
2
Primary Topic
Natural Language Processing Techniques
Type
article
Field-Weighted Citation Impact
4.96
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Simplifying code translation: Custom syntax language to C language transpiler

Misha Kakkar, Pasupuleti Yashwanth Lalith, Seema Sharma, Sujal Goel
2 citations
Natural Language Processing Techniques
4.96
article

Simplifying code translation: Custom syntax language to C language transpiler

Misha Kakkar, Pasupuleti Yashwanth Lalith, Seema Sharma, Sujal Goel
article en
2 citations

Abstract

In today’s world, programming has become a very essential skill as it is used everywhere, from creating software’s for operating systems to analysis of patients’ health care data in biomedical engineering. Programmers usually face a lot of difficulties to understand beginner level coding languages having low-level syntax. The proposed study "Simplifying Code Translation: Custom Syntax Language to C Language Transpiler", targets the specified problem and provides the solution in a form of transpiler that converts the newly developed custom language (made up of high-level syntax) to C language. The developed tool minimizes the overall cost incurred during the code designing process. This transpiler consists of 4 main parts: preprocessor, lexer, parser and emitter. It first starts by creating preprocessor which handles preprocessor directives such as 'define' and 'include'. This preprocessed code is then passed onto lexer which tokenizes the code. The parser is responsible for creating Abstract Syntax Tree (AST) using the tokens provided. The final AST is then transformed to C program by the emitter. Then output C code maintains proper syntactic and semantic structure of the original custom syntax language code.

Amity University (IN)
Openalex Percentile: Top 6%
Natural Language Processing Techniques
4.96
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.