Formal Language Processing

Before working with Natural Language Processing, I worked with programming languages. Actually, I took a course on Compiler Design as an elective during my College, and it inspired me to develop a simple interpreted language. And thus, I have developed a Programming Language Simulator with Visual Basic for research purpose. PLsims can have dynamic data structures for JSON Array and JSON Objects.

Actually, understanding how a programming language is interpreted by a computer (machine) is really helpful when I am working with Natural Language Processing. Any procedural programming language can be translated into a dependency tree with a flow-chart.

For more information: https://github.com/2kha/PLSims




	Program

		Procedure Main()

			@Declaration of Local Variable

			Number Array[] a

			a := Json("[1, 2, 3, 4, 5, 6, 7]")
		
			If (a[0] > 5)
			Then
				Write("The first is more than 5")
			Else
				Write("The first is less than 5")
			End If

		End Procedure
	End Program


Program

End Program

Procedure

End Procedure

Code

If

Else
Then
Code

Code