Todos
git-svn-id: https://svn.tlawal.org/svn/monkey@6 f6afcba9-9ef1-4bdd-9b72-7484f5705bac
This commit is contained in:
parent
1ea1289b7a
commit
7a74beea8a
9
main.go
9
main.go
@ -1,3 +1,11 @@
|
|||||||
|
/* TODO(tijani):
|
||||||
|
|
||||||
|
- add quit command to the repl.
|
||||||
|
- remove semicolons from the language to mark the end of a statement.
|
||||||
|
- add line and position reporting in the lexer when a lexing or parsing error occurs.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
@ -8,7 +16,6 @@ import (
|
|||||||
"monkey/repl"
|
"monkey/repl"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TODO(tijani): add quit command.
|
|
||||||
func main() {
|
func main() {
|
||||||
user, err := user.Current()
|
user, err := user.Current()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user