Skip to content

Our own programming language N with C++ in the background

Notifications You must be signed in to change notification settings

harshvardhanpro/language_N

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

language_n

(g++ should be installed on your pc)

Project for Hackathon Aug 2017 - Thapar University

'N' in its initial stage has these functionalities :

  1. Variables and function declaration 1.1 Data Types Supported (int, char) and arrays
  2. Syntax is " " separated i.e, "space" without quotes
  3. Display realtime errors if any in the console with highlighting line number

During compilation, our language interpretor parses and tokenises the N language code and using various expression checks and error handling, the N code is converted to the respective C++ code. This C++ code is then further compiled to finalise and execute our N code.

Steps:

  1. Open command promt/terminal in the folder in which program is saved.
  2. Now type "g++ compiler.cpp -o compiler". Press ENTER
  3. Now after compilation type "compiler tic.n"
  4. Play the TIC-TAC-TOE game. Enjoy !!

Team members :

About

Our own programming language N with C++ in the background

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • C++ 85.6%
  • Roff 14.4%