Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Ad icon
Jobreceive.com for sale
Blogerwiki
Updated:
Tuesday at 8:55 PM
Post Your Vehicle for Sale — FREE! - https://libro.lk
Kalu_Puth
Updated:
Tuesday at 7:38 PM
ඔයාගෙ Assignment හෝ Thesis එක හරියට හදාගමු
ErMurazor
Updated:
Saturday at 10:52 PM
Ad icon
BlackWall V2ray servers
hu KANNA
Updated:
Sep 23, 2026
Peppa Pig Family Plush Toy Set – 5 Characters
anil1961
Updated:
Sep 19, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Talk!
Compiler & Interpreter සිංහලෙන්
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="thota_langa_sirikkiya" data-source="post: 25697150" data-attributes="member: 561404"><p><a href="https://kalpithabysriya.blogspot.com/2020/09/compiler-interpreter.html" target="_blank">https://kalpithabysriya.blogspot.com/2020/09/compiler-interpreter.html</a></p><p></p><p>ආයුබෝවේවා හැමෝටම,</p><p></p><p>අපි දැන් මේ ඉගෙන ගන්න යන්නේ PHP ගැනනේ, කලින් session එකේදී මම කිවුවා Complier එකයි Interpreter එකයි ගැන කියලා දෙනවා කියලා. හරි මචංලා අපි බලමු මේ මොකක්ද කියලා.</p><p></p><p>මුන් දෙන්න ඇවිල්ල මචං සරලවම කිව්වොත් කරන්නේ මෙන්න මේ වගේ වැඩක්, මෙතන මචන් එකෙක් ඉන්නවා ඌ මචං <strong>කාලා දුවන එකෙක්</strong>, අනිත් එකා මචං <strong>දුවන ගමන් කන එකෙක්</strong>. හරි සරලයි.</p><p></p><p>computer එකේ ඉන්නවා මචන් කන්දේ අයියා කෙනෙක්. උ තමයි පොර. ඒ පොර තමයි Processor එක.</p><p></p><p>මොකද අපි මොනා කරත් ඌට අපි කියන දේ තේරෙන් නැත්නම් run කරනවා බොරු. එතකොට අපි ඌට තේරෙන භාෂාවකින් කියලා දෙන්න ඕනේ. ඌ දන්නේ එකම එක භාෂාවයි, ඒ තමයි <strong>machine language</strong> එක. කරුමෙට මේක <strong>Human Readable</strong> නෑ. ඒ කිවුවේ ඒ අපබ්බ්රන්සේ අපිට තේරෙන් නැ. එ භාෂාව කතා කරන්නේ machine තමයි ඉතිං. අපි මිනිස්සුනේ.</p><p></p><p>ඔන්න ඔතනදි තමයි ඉතිං අපිට translater කෙනෙක් එහෙමත් නැත්නම් භාෂා පරිවර්තකලා ඕන වෙන්නේ. එක්කෙනෙක් නෙමෙයි දෙන්නෙක්ම ඉන්නවා. අපි දන්න භාෂාවෙන් දන්නා දේ ලියලා,ඒ ලියපු ටික translator ට දීලා <strong>machine code</strong> එකට translate කරලා processor එකට දෙනවා. මුන් දෙන්නම පොඩි software කෑලි දෙකක්. හාල් කෑලි නෙවෙයි, සුපිරි කෑලි දෙකක්.</p><p></p><p><strong>Machine Code - යන්ත්ර ක්රමලේඛ</strong></p><p></p><p>අපි computer එකක මොනවා කරත් ඒ කරන දේ අවසානේ machine code එකකට convert වෙලා තමයි අපිට output එකක් දෙන්නේ. සෑම පරිගණකයකටම එයට අනන්න්ය වූ යන්ත්ර භාෂාවක් තියෙනවා මචංල. එතකොට මේ machine code තියන්නේ Binary Pattern එකෙන්. (උදා. 110110) . ඕක ඉතින් තේරෙන්නේ machine එකකටම තමයි.</p><p></p><p>Compiler එකයි Interpreter එකයි දෙන්නම කරන්නේ මේක තමයි අවසානේ. Processor එකට read කරන්න පුළුවන් විදියට අපි ලියන code එක machine code එකට එහෙමත් නැත්නම් binary code එකට convert කරලා දෙන එක. දෙන්නම කරන්නේ එකම දේ නම් ඇයි දෙන්නෙක් මේකට, ආන්න එතන තමයි case එක තියෙන්නේ.</p><p></p><p>අවසානෙට වෙන්නේ එකම දේ උනාට මුන් දෙන්නා මේක කරන්නේ විදි දෙකකට.</p><p></p><p><strong>කාලා දුවන එකා - The Compiler</strong></p><p><strong>මු කරන්නේ අපි ලියපු code එක සම්පුරන්යෙන්ම ට්රාන්සල්ටේ කරලා ඉවර වෙලා තමයි processor එකට run කරන්න දෙන්නේ.</strong></p><p><strong></strong></p><p><strong>දුවන ගමන් කන එකා - The Interpreter</strong></p><p></p><p>මු ටිකක් වෙනස් එකෙක්. මු කරන්නේ අපේ code එක run වෙන කොට තමයි අපේ code එකේ ටිකෙන් ටික line අකෙන් line එක convert කර කර processor එකට දෙන්නේ.</p><p></p><p>ඔන්න ඕකයි සරලවම වෙන්නේ ඉතිං. එතකොට මේ PHP කියන්නෙ Interpreter Language එකක්.</p><p>අපි ඒ ගැන ඉදිරියේදී කතා කරමු මිත්රවරුනි.</p></blockquote><p></p>
[QUOTE="thota_langa_sirikkiya, post: 25697150, member: 561404"] [URL]https://kalpithabysriya.blogspot.com/2020/09/compiler-interpreter.html[/URL] ආයුබෝවේවා හැමෝටම, අපි දැන් මේ ඉගෙන ගන්න යන්නේ PHP ගැනනේ, කලින් session එකේදී මම කිවුවා Complier එකයි Interpreter එකයි ගැන කියලා දෙනවා කියලා. හරි මචංලා අපි බලමු මේ මොකක්ද කියලා. මුන් දෙන්න ඇවිල්ල මචං සරලවම කිව්වොත් කරන්නේ මෙන්න මේ වගේ වැඩක්, මෙතන මචන් එකෙක් ඉන්නවා ඌ මචං [B]කාලා දුවන එකෙක්[/B], අනිත් එකා මචං [B]දුවන ගමන් කන එකෙක්[/B]. හරි සරලයි. computer එකේ ඉන්නවා මචන් කන්දේ අයියා කෙනෙක්. උ තමයි පොර. ඒ පොර තමයි Processor එක. මොකද අපි මොනා කරත් ඌට අපි කියන දේ තේරෙන් නැත්නම් run කරනවා බොරු. එතකොට අපි ඌට තේරෙන භාෂාවකින් කියලා දෙන්න ඕනේ. ඌ දන්නේ එකම එක භාෂාවයි, ඒ තමයි [B]machine language[/B] එක. කරුමෙට මේක [B]Human Readable[/B] නෑ. ඒ කිවුවේ ඒ අපබ්බ්රන්සේ අපිට තේරෙන් නැ. එ භාෂාව කතා කරන්නේ machine තමයි ඉතිං. අපි මිනිස්සුනේ. ඔන්න ඔතනදි තමයි ඉතිං අපිට translater කෙනෙක් එහෙමත් නැත්නම් භාෂා පරිවර්තකලා ඕන වෙන්නේ. එක්කෙනෙක් නෙමෙයි දෙන්නෙක්ම ඉන්නවා. අපි දන්න භාෂාවෙන් දන්නා දේ ලියලා,ඒ ලියපු ටික translator ට දීලා [B]machine code[/B] එකට translate කරලා processor එකට දෙනවා. මුන් දෙන්නම පොඩි software කෑලි දෙකක්. හාල් කෑලි නෙවෙයි, සුපිරි කෑලි දෙකක්. [B]Machine Code - යන්ත්ර ක්රමලේඛ[/B] අපි computer එකක මොනවා කරත් ඒ කරන දේ අවසානේ machine code එකකට convert වෙලා තමයි අපිට output එකක් දෙන්නේ. සෑම පරිගණකයකටම එයට අනන්න්ය වූ යන්ත්ර භාෂාවක් තියෙනවා මචංල. එතකොට මේ machine code තියන්නේ Binary Pattern එකෙන්. (උදා. 110110) . ඕක ඉතින් තේරෙන්නේ machine එකකටම තමයි. Compiler එකයි Interpreter එකයි දෙන්නම කරන්නේ මේක තමයි අවසානේ. Processor එකට read කරන්න පුළුවන් විදියට අපි ලියන code එක machine code එකට එහෙමත් නැත්නම් binary code එකට convert කරලා දෙන එක. දෙන්නම කරන්නේ එකම දේ නම් ඇයි දෙන්නෙක් මේකට, ආන්න එතන තමයි case එක තියෙන්නේ. අවසානෙට වෙන්නේ එකම දේ උනාට මුන් දෙන්නා මේක කරන්නේ විදි දෙකකට. [B]කාලා දුවන එකා - The Compiler මු කරන්නේ අපි ලියපු code එක සම්පුරන්යෙන්ම ට්රාන්සල්ටේ කරලා ඉවර වෙලා තමයි processor එකට run කරන්න දෙන්නේ. දුවන ගමන් කන එකා - The Interpreter[/B] මු ටිකක් වෙනස් එකෙක්. මු කරන්නේ අපේ code එක run වෙන කොට තමයි අපේ code එකේ ටිකෙන් ටික line අකෙන් line එක convert කර කර processor එකට දෙන්නේ. ඔන්න ඕකයි සරලවම වෙන්නේ ඉතිං. එතකොට මේ PHP කියන්නෙ Interpreter Language එකක්. අපි ඒ ගැන ඉදිරියේදී කතා කරමු මිත්රවරුනි. [/QUOTE]
Insert quotes…
Verification
Winadiyakata thappara keeyak tibeda?
Post reply
Top
Bottom