Nikolay M.’s Post

"𝗕𝘂𝗱𝗴𝗲𝘁: 37500.0 INR - 75000.0 INR 𝗧𝗶𝘁𝗹𝗲: asPy - Assamese Python Transpiler Project Name: asPy — Assamese → Python Transpiler & VS Code Extension Objective: Build a functional VS Code extension enabling Assamese programming by transpiling Assamese code into Python and executing it seamlessly within VS Code. Project Overview The asPy project aims to make programming accessible in Indian regional languages—starting with Assamese. The solution must allow users to: Write code in Assamese in .aspy files inside VS Code. Click “Run” to: Transpile Assamese → Python. Execute the Python code in a controlled environment. Display both transpiled Python and program output inside VS Code. The extension should work offline, bundle the Python transpiler engine, and provide cross-platform support (Windows primary, Linux/macOS secondary). Scope of Work Core Components ComponentDescriptionTranspiler Engine (Python)Converts Assamese keywords & identifiers to Python equivalents using a JSON mapping. Executes code in a sandbox. (Already designed in MVP)VS Code Extension (TypeScript)Provides UI, command registration, syntax highlighting, and communication with the transpiler backend.Backend BridgeThe extension launches a bundled Python process (runner_cli.py) that handles transpilation and execution.Syntax HighlightingTextMate grammar to highlight Assamese keywords and built-ins.Output Panel / WebviewDisplays transpiled Python and program output side by side. Functional Requirements a. Language Handling File extension: .aspy Syntax highlighting for Assamese keywords (from mapping.json). Supports Assamese digits ০–৯ and transliterated functions. b. Commands & Features CommandActionaspy.runRuns current file; shows transpiled Python + output.aspy.showPythonShows transpiled Python only.aspy.newSampleInserts a “Hello World” Assamese template. c. Settings KeyTypeDefaultDescriptionaspy.pythonPathstringautoCustom Python interpreter path.aspy.mappingPathstringinternalPath to keyword mapping file.aspy.maxExecMillisnumber3000Max runtime per execution (ms). d. Output Opens a new VS Code panel or webview showing: ### Transpiled Python <code> ### Output <result> Handles runtime errors gracefully (show traceback in red). e. Security Executes in restricted sandbox (safe builtins only). Enforces timeout and memory safety (limit execution time to avoid infinite loops). Technical Stack LayerTechnologyBackendPython 3.10+FrontendTypeScript (VS Code Extension API)Editor FrameworkVS CodePackagingvsce (Visual Studio Code Extension Manager)JSON MappingAssamese → Python keyword dictionary Deliverables VS Code Extension Package (aspy-x.y.vsix) Installable extension with bundled backend. Includes syntax highlighting and run commands. ..." #VSCodeExtension #Transpiler #Assamese #Python #ProgrammingLanguage #Localization #DeveloperTools #CodeEditor #IndianLanguages #Accessibility  → https://lnkd.in/dBTg_2y9

To view or add a comment, sign in

Explore content categories