தமிழ் மொழிபெயர்ப்பி (TamilTranspiler)
தமிழ் மொழிபெயர்ப்பி என்பது Visual Studio Code-ல் தமிழ் மொழியில் கோட்பிடிக்கக்கூடிய சக்திவாய்ந்த நீட்டிப்பு ஆகும். இது தமிழ் மொழியில் எழுதப்பட்ட கோடுகளை Python உடன் பொருந்தக்கூடிய வடிவமைப்பில் மாற்றி நேரடியாக செயல்படுத்த அனுமதிக்கிறது.
அம்சங்கள்
தமிழ் கோடுகளை இயக்கவும்
உங்கள் தமிழ் கோடுகளை VS Code டெர்மினலில் நேரடியாக இயக்கலாம்.
ஹிந்தி கோடுகளை இயக்கவும் (NEW)
ஹிந்தி (Hindi) மொழியில் எழுதப்பட்ட நிரல்களையும் இயக்க முடியும்.
பல மொழி நிரலாக்க ஆதரவு
ஒரே நிரலாக்க சூழலில் தமிழ், ஹிந்தி மற்றும் ஆங்கில மொழிகளை பயன்படுத்தலாம்.
கற்றல் வழிகாட்டி பதிவிறக்கம் (NEW)
தமிழ், ஆங்கிலம் மற்றும் ஹிந்தி மொழிகளில் Learning Guide PDF-களை பெறலாம்.
பயனர் நட்பு இடைமுகம்
ஒரு எளிய கட்டளையின் மூலம் உங்கள் கோடுகளை இயக்கலாம், உங்கள் வளர்ச்சித்திறனையும் மேம்படுத்தலாம்.
.
பயன்படுத்துதல்
தமிழ் / ஹிந்தி எழுத்துருக்களை நிறுவவும் (மிகச்சிறந்த காட்சிக்காக):
- உங்கள் கணினியில் தமிழ் அல்லது ஹிந்தி எழுத்துக்கள் சரியாக காண Unicode ஆதரவு கொண்ட எழுத்துருக்கள் தேவை.
- தமிழ்: Latha, Vijaya, Noto Sans Tamil
- ஹிந்தி: Noto Sans Devanagari
- Google Fonts மூலம் பதிவிறக்கம் செய்யலாம்.
VS Code அமைப்புகளை மாற்றவும்:
- Editor: Font Family மற்றும் Terminal: Integrated Font Family ஆகியவற்றை நிறுவிய எழுத்துருவை பயன்படுத்த அமைக்கவும்.
- தேவையெனில் VS Code-ஐ மீண்டும் தொடங்கவும்.
உங்கள் விருப்ப மொழியில் கோடுகளை எழுதவும்:
.py, .txt, .agilan உள்ளிட்ட எந்த கோப்பையும் திறந்து கோடுகளை எழுதலாம்.
- கீழ்கண்ட மொழிகள் ஆதரிக்கப்படுகின்றன:
- தமிழ்
- ஹிந்தி
- ஆங்கிலம் (Python)
- மொழி தானாகவே கண்டறியப்படும்.
கோடுகளை இயக்கவும்:
Ctrl+Shift+P (அல்லது) Cmd+Shift+P பயன்படுத்தி Command Palette-ஐ திறந்து
Agilan: Run Current File கட்டளையை தேர்வு செய்யவும்.
- அல்லது editor-ல் right-click செய்து Run Agilan File என்பதை தேர்வு செய்யலாம்.
- Shortcut:
Ctrl+Alt+R (அல்லது) Cmd+Alt+R.
- Output, VS Code integrated terminal-ல் காட்டப்படும்.
கற்றல் வழிகாட்டியை பெற (NEW):
Ctrl+Shift+P → Agilan: Download Learning Guide
- மொழியை தேர்வு செய்யவும்:
- தேர்வு செய்த மொழிக்கான Learning Guide PDF தானாக திறக்கப்படும்.
உதாரண கோடு (Example Code)
வட்டளவு = 10
பரிமாணம் = வட்டளவு * வட்டளவு * 3.14
அச்சிடு(பரிமாணம்)
அதாவது (Output): 314.0
பிரச்சினைகள்
- சில Python இலக்கணங்கள் மற்றும் நூலகங்கள் முழுமையாக ஆதரிக்கப்படாது.
பங்களிப்பு
பங்களிப்புகள் எப்போதும் வரவேற்கப்படுகின்றன! GitHub Repository மூலம் பிழைகளை சரிசெய்யவும் அல்லது Pull Request சமர்ப்பிக்கவும்.
உரிமம்
இந்த நீட்டிப்பு MIT உரிமம் அடிப்படையில் வழங்கப்பட்டுள்ளது.
TamilTranspiler (English)
TamilTranspiler is a powerful Visual Studio Code extension that enables programming in the Tamil language. It allows Tamil code to be transpiled into Python-compatible syntax and executed directly within VS Code, making Tamil language-based programming accessible to all developers.
Features
Execute Tamil code
Run your Tamil code directly from the VS Code terminal.
Execute Hindi code (NEW)
Run programs written in Hindi (Devanagari) directly inside VS Code.
Multi-language programming support
Write and run programs using Tamil, Hindi, or English in a single environment.
Automatic language detection
The extension automatically detects the language used in the file.
Download Learning Guide (NEW)
Access learning guides in Tamil, English, and Hindi.
User-Friendly Interface
Run your code with a simple command, improving your development workflow.
Usage
Install Required Fonts (For Proper Viewing):
- Install Unicode-supported fonts for correct rendering.
- Tamil: Latha, Vijaya, Noto Sans Tamil
- Hindi: Noto Sans Devanagari
- Fonts can be downloaded from Google Fonts.
Modify Settings in VS Code:
- Set Editor: Font Family and Terminal: Integrated Font Family to the installed font.
- Restart VS Code if required.
Open and Write Code:
- Open any file (
.py, .txt, .agilan, or any file type).
- Write code in:
- Tamil
- Hindi
- English (Python)
- The language is detected automatically.
Run the Code:
- Open the Command Palette using
Ctrl+Shift+P (or Cmd+Shift+P).
- Select Agilan: Run Current File.
- Or right-click inside the editor and choose Run Agilan File.
- Shortcut:
Ctrl+Alt+R (or Cmd+Alt+R on macOS).
- The output will be displayed in the VS Code integrated terminal.
Open Learning Guide (NEW):
- Open the Command Palette and select Agilan: Download Learning Guide.
- Choose the language:
- The learning guide PDF will open automatically and is cached for future use.
Example Code
radius = 10
area = radius * radius * 3.14
print(area)
Output:
314.0
Known Issues
- Some advanced Python features might not be fully supported when writing code in Tamil.
Contributing
Contributions are always welcome! Feel free to improve the code, fix bugs, or submit a pull request via GitHub Repository.
License
This extension is licensed under the MIT License.