ICON Programming Help by Programmers hub

ICON Programming Language

ICON Programming language is used for the processing strings and data structure. ICON is consider as a very high level programming language having syntax same as that of C and pascal programming language. ICON Programming language provide the strong string scanning scheme for the string matching that avoids the tedious details usually associated with analyzing strings. The one of the most important feature of the ICON programming language is the type conversion e.g if operation uses the integer type and the string is required then it automatically convert the integer into string. Icon manages storage automatically. Objects are created as needed during program execution and space is reclaimed by garbage collection as needed.

ICON programming code example

s = "All the world's a stage. And all the men and women merely players";
 i = indexOf("the", s)
 while i != -1 {
   write(i);
   i =  indexOf("the", s, i+1);
 }
ICON Programming language
 

Features of ICON

  • A high-level, general-purpose programming language
  • no semicolons needed in the coding
  • Emphasis on programmer productivity
  • Usually interpreted
  • Evolved from programming languages
  • Procedural control flow plus generators and goal-directed evaluation