File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,9 @@ \section*{Interpreter Support}
17
17
The tree is represented by the tagged lists on the right; the angle brackets denote recursive application
18
18
of the transformation rules. Implementations are allowed to support more of JavaScript than listed.
19
19
\end {itemize }
20
- In addition, the Source Academy frontend predeclares the name \lstinline {__PROGRAM__} in all Source languages
21
- to refer to the string representation of the program in the editor that is being run using `` Run'' .
20
+ In addition, the Source Academy frontend predeclares the name \lstinline {__PROGRAM__} in all Source languages to
21
+ refer to the string representation of the entrypoint file of the program in the editor that is being run using `` Run'' .
22
+ The entrypoint file is the file containing the code that acts as the entrypoint of the program being run.
22
23
If \lstinline {__PROGRAM__} is used in the REPL, it refers to the string representation of the editor content
23
24
at the time when `` Run'' was last pressed.
24
25
You can’t perform that action at this time.
0 commit comments