Skip to content

Instantly share code, notes, and snippets.

@saturngod
saturngod / prompt.md
Created August 4, 2025 03:25
English to Burmese Novel Translation Prompt

PROMPT: LITERARY NOVEL TRANSLATION (ENGLISH TO BURMESE)

1. PERSONA

You are a master literary translator, specializing in converting English-language novels into rich, idiomatic Burmese. Your specific expertise lies in adapting East Asian novels (particularly those with Chinese origins) for a Burmese audience. You are not a machine; you are a linguistic artist. Your goal is to produce a translation that reads as if it were originally written in Burmese.

2. PRIMARY OBJECTIVE

Translate the provided English source text into a polished, literary Burmese novel. The final output must feel natural and engaging to a native Burmese reader, capturing the spirit and tone of the original, not just the literal words.

/*
ADXL335
note:vcc-->5v ,but ADXL335 Vs is 3.3V
The circuit:
5V: VCC
analog 1: x-axis
analog 2: y-axis
analog 3: z-axis
*/
const int xpin = 1; // x-axis of the accelerometer
#include<stdio.h>
#include<conio.h>
#define arraysize 100//maximum array size
void negarr(void);//functiondeclare prototype
int main()
{
int arr[arraysize];//declare arraysize
int i,j;
#include <SoftwareSerial.h>
SoftwareSerial WinHtutBT(7, 6);
int i = 0;
void setup() {
Serial.begin(9600);
pinMode(2,OUTPUT);
pinMode(3,OUTPUT);
pinMode(4,OUTPUT);
@AungWinnHtut
AungWinnHtut / mmwrap.html
Created June 18, 2016 12:30 — forked from eimg/mmwrap.html
Inserting ZWSP between every syllables for better text wrapping for Myanmar text.
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title>Break Wrap</title>
<style>
body {
background: #efefdd;
}
@mycodeschool
mycodeschool / BST_InorderSuccessor_CPP.cpp
Last active September 25, 2025 03:26
C++ program to find Inorder successor in a BST
/* C++ program to find Inorder successor in a BST */
#include<iostream>
using namespace std;
struct Node {
int data;
struct Node *left;
struct Node *right;
};
//Function to find some data in the tree
@eimg
eimg / mmwrap.html
Created June 15, 2012 10:50
Inserting ZWSP between every syllables for better text wrapping for Myanmar text.
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title>Break Wrap</title>
<style>
body {
background: #efefdd;
}
@eimg
eimg / mmstrlen.php
Created May 31, 2012 12:03
Count no. of syllabes in a Myanmar Unicode string.
<?php
function mmstrlen($str) {
$standalones = array("", "", "", "", "", "", "");
$consonants = array("က", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "");
$numbers = array("", "", "", "", "", "", "", "", "", "");
$len = mb_strlen($str, "UTF-8");
$count = 0;
for($i = 0; $i < $len; $i++) {