The application of English linguistics in programming

本文探讨了英语语言学在编程,特别是编程中的语义关系。通过Processing和Java代码,作者分析了语义、形态学与函数命名的关系。‘setup’函数初始化窗口大小,‘draw’函数包含背景色和绘图指令,‘width’、‘height’、‘mouseX’、‘mouseY’等词汇的含义与其字面意义一致。语义学中的下义词关系(hyponymy)和预设关系(presupposition)也在代码解释中得到体现。
摘要由CSDN通过智能技术生成

Wu Xinyi

In this paper I’m going to analyze the application of English linguistics in programming, or furtherly, the relationship between semantics and programming with Processing using Java codes. Morphology is also mentioned while concerning the names of functions.

Index keywords- English linguistics, programming, semantics, Processing, Java

1 Introduction of Processing

Processing is a flexible software sketchbook and a language for learning how to code within the context of the visual arts. Since 2001, Processing has promoted software literacy within the visual arts and visual literacy within technology. There are tens of thousands of students, artists, designers, researchers, and hobbyists who use Processing for learning and prototyping.

Programs are written in the Text Editor and started by pressing the Run button. In Processing, a computer program is called a ‘sketch’. Sketches are stored in the ‘sketchbook’, which is a folder on your computer.

Processing has different programming modes to make it possible to deploy sketches on different platforms and program in different ways. The Java mode is the default. Other programming modes may be downloaded by selecting "Add Mode..." from the menu in the upper-right corner of the Processing Development Environment (PDE).

Here is a simplest Processing example written in Java codes:

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值