Hello World Souffle.
Ingredients.
72 g haricot beans
101 eggs
108 g lard
111 cups oil
32 zucchinis
119 ml water
114 g red salmon
100 g dijon mustard
33 potatoes
Method.
Put potatoes into the mixing bowl.
Put dijon mustard into the mixing bowl.
Put lard into the mixing bowl.
Put red salmon into the mixing bowl.
Put oil into the mixing bowl.
Put water into the mixing bowl.
Put zucchinis into the mixing bowl.
Put oil into the mixing bowl.
Put lard into the mixing bowl.
Put lard into the mixing bowl.
Put eggs into the mixing bowl.
Put haricot beans into the mixing bowl.
Liquefy contents of the mixing bowl.
Pour contents of the mixing bowl into the baking dish.
Serves 1.
I am disappointed by the marked lack of braaaain statements.
blackcoder41:
I think it should be noted that languages are ideas. As such, they don't need to be created in any specific ways. What you're asking is how language compilers and/or interpreters are created.
How is assembly language created then?
Machine code.
Some compilers are created in more interesting ways than others. For example, Lisp's first interpreter was written in Assembly, but its compiler was written in Lisp, ran through the interpreter, then passed its own code as input to get a compiler binary as output. When a compiler is capable of compiling its own code, it's said to be self-hosted.
They write an informal grammar, they write out their semantics, they design a standard library, they write a formal grammar, they write a lexer and parser, and they have their language compiler/interpreter. The difference is that a compiler writes assembly or machine code, while an interpreter acts as a shell.
You missed out the part where they design the language :S
I don't think it's as simple as saying "This is a Turing-complete language now. Have fun!"
Surely you have to design the language before creating the compiler/interpreter.
To answer his question as to how the first languages came to be without an operating system. I'm fairly certain they were done with punch cards fed to a machine physically by hand. The language was binary machine code. Or as I'm told it was called at some point 'Assembler'.
What you're asking is how language compilers and/or interpreters are created.
Yeah, I think that's what I'm suppose to asking. Btw thanks for your answer.
@Seraphimsan
To answer his question as to how the first languages came to be without an operating system. I'm fairly certain they were done with punch cards fed to a machine physically by hand. The language was binary machine code. Or as I'm told it was called at some point 'Assembler'.
I think that's enough answer assuming that is correct. I guess I have to see it for myself on how they do it to satisfy my curiosity. It does not have to be actual, it could be documentary (video) or instruction (with images)
I really can't imagine how to use a punch card so produce software. I'm gonna go google it now.