1
1
123qwe2015-09-20 18:53:04
Programming
123qwe, 2015-09-20 18:53:04

What does core programming language consist of?

What's up, software.
Let's take js for example.
When this language was born (I mean the time when Gosling wanted to call it C++++), then the language did not have methods, and even more so libraries.
So, the essence of my question is: What does the language just from the assembly line consist of, but so that you can already start writing anything on it? And the well-known methods, such as toUpper and toLower (which do not yet exist), should be written the same way.
JS itself is small, and here are those who rummage around, unsubscribe what I'm asking about.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Armenian Radio, 2015-09-20
@gbg

In order to be able to write anything in a language, it must, in combination with the computing environment, be Turing complete. All.

U
uvelichitel, 2015-09-20
@uvelichitel

Syntax

M
Mrrl, 2015-09-21
@Mrl

There should be a minimal I/O library. Implemented as language operators (as in BASIC or brainfuck) or functions (as in C). An alternative option is the presence of assembler inserts and / or the possibility of calling "system" functions.
If the language does not provide for dynamic memory capture, then functions will be required that allow you to take memory from the system and then return it.
The rest can be implemented already in terms of the language itself.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question