We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

User:Miui/Drafts/구interpreter

From Esolang
Jump to navigation Jump to search
This is still a work in progress. It may be changed in the future.

Tiếng Việt interpreter

Hãy đọc kỹ tài liệu kỹ thuật, sau đó sử dụng trình thông dịch tham chiếu để làm rõ các hành vi chưa được định nghĩa.
Hãy loại bỏ các lỗi; đừng từ bỏ ước mơ của bạn.

trình thông dịch tham chiếu

local lang = {}

local BASE   = 0xAC00
local POS   = 19
local BCD   = 2
local NEG   = 27

lang.positive = {
  "0","1","2","3","4","5","6","7","8","9",
  "A","B","C","D","E","F","G","H","I"
}

lang.bcd = {
  "구","공"
}

lang.negative = {
  "␠","!",""","#","$","%","&","'","(",")","*",
  "+",",","-",".","/","0","1","2","3","4","5",
  "6","7","8","9",":"
}