What are the terms parsing in java?

In java, I noticed that there are methods related to converting strings , and these methods sometimes use the word "parse" in the method name. For example, a static method,

 static int parseInt(String str) 

used to convert a string to int . My question is this. Is β€œparsing” short for another word? Is it just a random word, or did it come from somewhere else in some other Java programming context or elsewhere?

+4
source share
1 answer

From wikipedia : Analysis or parsing is the process of analyzing a string of characters either in natural language or in computer languages ​​in accordance with the rules of formal grammar. The term parsing comes from Latin pairs (ōrātiōnis), which means part (speech).

+5
source

Source: https://habr.com/ru/post/1502702/


All Articles