Click here to Skip to main content
15,881,092 members
Articles / Containers / Virtual Machine

Building a Programming Language: Part II (Adding Conditions, Loop and Blocks to BrainLess)

Rate me:
Please Sign up or sign in to vote.
4.75/5 (15 votes)
11 Oct 2013LGPL311 min read 56.8K   1.6K   66  
In this article, we will discuss implementing conditional statements, loops and blocks.

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual C++ Express 2008
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "BrainLess", "BrainLess.vcproj", "{6206D05B-B669-4E4D-8BA6-71C43522687C}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Win32 = Debug|Win32
		Release|Win32 = Release|Win32
		ReleaseWidDbg|Win32 = ReleaseWidDbg|Win32
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{6206D05B-B669-4E4D-8BA6-71C43522687C}.Debug|Win32.ActiveCfg = Debug|Win32
		{6206D05B-B669-4E4D-8BA6-71C43522687C}.Debug|Win32.Build.0 = Debug|Win32
		{6206D05B-B669-4E4D-8BA6-71C43522687C}.Release|Win32.ActiveCfg = Release|Win32
		{6206D05B-B669-4E4D-8BA6-71C43522687C}.Release|Win32.Build.0 = Release|Win32
		{6206D05B-B669-4E4D-8BA6-71C43522687C}.ReleaseWidDbg|Win32.ActiveCfg = ReleaseWidDbg|Win32
		{6206D05B-B669-4E4D-8BA6-71C43522687C}.ReleaseWidDbg|Win32.Build.0 = ReleaseWidDbg|Win32
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The GNU Lesser General Public License (LGPLv3)


Written By
Architect
India India
I like to explore different aspects of technology. Try new things, and get delighted. My interests are programming language, and Imaging. But its not hard to work on other things also. Algorithms delight me over a coffee break.

I basically code in C++, but JAVA is not so alien for me. I know few scripting languages also. Basically I feel that knowing a programing language is just a matter of getting introduced to it.

For my other articles check my blog on homepage:

http://brainlesslabs.com/

https://github.com/BrainlessLabsInc

http://www.luxrender.net/en_GB/authors_contributors - SMISRA

Comments and Discussions