hare

The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit 93b292a28e6e17912eadc093661e0692fbfab704
parent 924d2c2c89fd3f79013109a158cfe1365df5c154
Author: Drew DeVault <sir@cmpwn.com>
Date:   Fri, 16 Apr 2021 10:02:55 -0400

hare::parse: add TODO regarding slicing expressions

Diffstat:
Mhare/parse/expr.ha | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/hare/parse/expr.ha b/hare/parse/expr.ha @@ -214,6 +214,7 @@ fn postfix(lexer: *lex::lexer, lvalue: (ast::expr | void)) (ast::expr | error) = ltok::LPAREN => call(lexer, lvalue)?, ltok::DOT => postfix_dot(lexer, lvalue)?, ltok::LBRACKET => { + // TODO: Slicing expressions let expr = ast::access_index { object = alloc(lvalue), index = alloc(expression(lexer)?),