diff --git a/README.md b/README.md index 8356b1f..5ba5104 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ var interp = new hscript.Interp(); trace(interp.execute(ast)); -In case of parse error an `hscript.Expr.Error` is throwed. You can use `parser.line` to know the line number. +In case of a parsing error an `hscript.Expr.Error` is thrown. You can use `parser.line` to know the line number. You can set some globaly accessible identifiers by using `interp.variables.set("name",value)` @@ -30,4 +30,4 @@ You can use `parser.allowJSON` to allow JSON data. You can use `parser.allowTypes` to parse types for local vars, exceptions, function args and return types. Types are ignored by the interpreter. -You can use `new hscript.Macro(pos).convert(ast)` to convert an hscript AST to a Haxe macros one. \ No newline at end of file +You can use `new hscript.Macro(pos).convert(ast)` to convert an hscript AST to a Haxe macros one.