Thêng-sek gí-giân

(Tùi Programming language choán--lâi)

Thêng-sek gí-giân (Eng-gí: programming language) sī ēng lâi khòng-chè tiān-náu ia̍h pa̍t-chióng ki-khì ê jîn-kang gí-giân (artificial language). Thêng-sek gí-giân kap jîn-lūi ēng ê chū-jiân gí-giân (natural language) chin sêng, lóng sī lī-iōng gí-hoat (syntax) kap gí-ì (semantics) ê kui-chek lâi khak-tēng gí-giân ê kiat-kò͘ kap ì-bī.

The source code for a simple computer program written in the C programming language. The gray lines are comments that help explain the program to humans in a natural language. When compiled and run, it will give the output "Hello, world!".