In this paper we introduce APL (Arabic Programming Language) that uses Large language models (LLM) as semi-compiler to covert Arabic text code to python code then run the code. Designing a full pipeline from the structure of the APL text then a prompt (using prompt engineering) then running the prodcued python code using PyRunner. This project has a three parts first python library, a playground with simple interface and this research paper.
翻译:本文提出APL(阿拉伯语编程语言),利用大型语言模型(LLM)作为半编译器,将阿拉伯语文本代码转换为Python代码并执行。通过设计完整流水线,涵盖APL文本结构构建、基于提示工程(prompt engineering)的生成提示以及使用PyRunner执行生成的Python代码。该项目包含三个部分:Python库、简易交互式演示环境及本研究论文。