Click here to Skip to main content
15,889,838 members
Articles / Programming Languages / Java

Create Your Own Programming Language

Rate me:
Please Sign up or sign in to vote.
4.87/5 (53 votes)
21 Jan 2010CPOL12 min read 487K   15.4K   87  
I've created my own programming language called Alef++ for fun, and for better understanding: What is a programing language? How does it work? Can I can create my own?
/**
 * The Code Project Open License (CPOL) 1.02
 * 		see : http://www.codeproject.com/info/cpol10.aspx
 * 
 * Author	: Adrabi Abderrahim
 * Mail		: adrabi[at]gmail[dot]com
 * Year		: 2009
 * Discrip	: this code a part of "Create Your Own Programming Language, just game ?" 
 * 			  and code using is from Alef++ project
 * 			  https://sourceforge.net/projects/alefpp/
 */

package st4tic.core;

/**
 * Class base of all St4tic language classes
 * 
 * @author Adrabi Abderrahim
 *
 */
public class St4ticObject {

	private St4ticObject parent  = null;
	
	/**
	 * void constructor
	 *
	 */
	public St4ticObject()
	{
		//nothing ...
	}
	
	/**
	 * Constructor with parent object
	 * @param parent
	 */
	public St4ticObject (St4ticObject parent)
	{
		this.parent = parent;
	}
	
	/**
	 * Get an object parent
	 * @return St4ticObject
	 */
	public St4ticObject getParent()
	{
		return parent;
	}
}

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 Code Project Open License (CPOL)


Written By
Technical Lead
Morocco Morocco
Adrabi!, Just another Ghost in the Shell =)

Comments and Discussions