explain more
This commit is contained in:
parent
e94671c85e
commit
036456d638
2 changed files with 13 additions and 15 deletions
11
README.md
11
README.md
|
|
@ -36,3 +36,14 @@ What is it?
|
||||||
|
|
||||||
### Run
|
### Run
|
||||||
* npm run start
|
* npm run start
|
||||||
|
|
||||||
|
* the console has code completion, but right now it's limited: only once there is only 1 alternative,
|
||||||
|
you can press tab to complete.
|
||||||
|
* the interpreter is based on 'Lox' from the 'Crafting Interpreters' book.
|
||||||
|
* use `var` to declare a variable
|
||||||
|
* `print(...)` prints to the console
|
||||||
|
* statements must end with ';' (//TODO remove)
|
||||||
|
* not yet:
|
||||||
|
* loops
|
||||||
|
* branching
|
||||||
|
|
||||||
|
|
|
||||||
17
index.html
17
index.html
|
|
@ -4,22 +4,9 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<title></title>
|
<title>szpakowski-lang</title>
|
||||||
<link rel="stylesheet" href="css/style.css">
|
<link rel="stylesheet" href="css/style.css">
|
||||||
<meta name="description" content="">
|
<meta name="description" content="szpakowski-lang">
|
||||||
|
|
||||||
<meta property="og:title" content="">
|
|
||||||
<meta property="og:type" content="">
|
|
||||||
<meta property="og:url" content="">
|
|
||||||
<meta property="og:image" content="">
|
|
||||||
<meta property="og:image:alt" content="">
|
|
||||||
|
|
||||||
<link rel="icon" href="/favicon.ico" sizes="any">
|
|
||||||
<link rel="icon" href="/icon.svg" type="image/svg+xml">
|
|
||||||
<link rel="apple-touch-icon" href="icon.png">
|
|
||||||
|
|
||||||
<link rel="manifest" href="site.webmanifest">
|
|
||||||
<meta name="theme-color" content="#fafafa">
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue