Click here to Skip to main content
15,889,877 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
c# and other visual studio languages have different grammars .that means i have to write language specific code for the compiler to understand. i designed a rich text box where the user could write code according to my wish i.e. according to the grammar i defined. when pressing some hotkey or any other specific key, the code in the rich text box delivers the result as expected. what would i call thhe program as --an interpreter or a simply an ordinary program

What I have tried:

i don't know what to call it ? help
Posted
Updated 31-Dec-20 5:04am
v2
Comments
CHill60 31-Dec-20 10:01am    
This is so vague we cannot possibly answer it. Try phrasing your question in a different way.
Richard MacCutchan 31-Dec-20 10:07am    
Years ago I was reading the source code of a utility program and came across the following statement by the author:
"I could not think what to call this program, so I named it after my cat."
Member 12712527 31-Dec-20 11:16am    
SIR, the program shows up a set of records on execution of specifically typed code .
the code is executed line by line. And the code of the program is written in c#.
The code looks as SQL with the code used in a programming application Please suggest a name for the application
Richard MacCutchan 31-Dec-20 11:24am    
This is really rather pointless. If you cannot think for yourself you are going to waste half your life. You wrote the code, so you know exactly how it works and what it does. We have no idea apart from your vague description above. You could always write it up as an article here on CodeProject and ask for suggestions, but you would probably end up having to call it "Cody McCodeface".
PIEBALDconsult 31-Dec-20 11:38am    
Quincy? The free C/C++ IDE?

"Quincy is named after Al Stevens' daughter's cat."
-- http://www.quincy.codecutter.org/

In response to OP's comments
@OriginalGriff has already told you - it could be any one of
- Calculator"
- "Expression Evaluator"
- "Interpreter"
- "Compiler"

It could even be called a "Parser", an "Analyzer", a "Code Cruncher" or even (at a push) a "Development Environment"

You have not described it well enough for us to give it a definitive name.

I would call it Bob, but that's just me. Call it a "Program" and move on.
 
Share this answer
 
Comments
Richard MacCutchan 31-Dec-20 11:40am    
+5 for Bob, nice and catchy. :)
That depends on the complexity that you designed into your grammar: it could be anything from a Calculator, an Expression Evaluator, or right through to an Interpreter or Compiler.

And we can't tell what you have designed, so we really can't be of much help. Good luck with it though!
 
Share this answer
 
Comments
Member 12712527 31-Dec-20 10:26am    
after you write the code in specific grammar; on execution it delivers a set of data present in a table. thhe whole program is written in c#. now please say what I will call the application as ?
Richard MacCutchan 31-Dec-20 10:49am    
Call it "the program that reads some input and returns some output".
OriginalGriff 31-Dec-20 11:09am    
Or ... "the code" ... ? :D
Member 12712527 31-Dec-20 10:33am    
on execution of the code written in the grammar i defined it displays a set of records. now please state what would be name of the program -- compiler behind an interpreter (c# is a compiler) or simply an ordinary program (translator) ?
OriginalGriff 31-Dec-20 11:08am    
"[number] [operator] [number]" is a grammar: it makes a calculator.

The grammar for C# runs to many pages: it makes a compiler.
These are the extremes, everything else is a grey area between them. We have no idea what you have done - only you know that!

Call it a "command processor" and hedge your bets that way!

We can;t tell you what it is called, becuase we have no

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900