Home
Blogs
Questions

Home

About Us

Blogs

Questions

Monetize

Post Job

banner

Questions about nand2tetris

Read more about nand2tetris

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - nand2tetris

In subroutine insert: Expected ( error in Jack programming language

I get error In BinarySearchTree.jack (line 20): In subroutine insert: Expected ( In BinarySearchTree.jack (line 25): In subroutine insert: Expected ( I have 2 classes, Node: class Node { field ...
test-img

UrosMilosevic

jack

nand2tetris

Votes: 0

Answers: 1

Latest Answer

The problem is p.left and p.right. You can't access fields directly like in other programming languages. Use p.getLeft() p.getRight(). The error message means that the compiler doesn't know about expr...
test-img

apppelll

Posts

Questions

Blogs

Where knowledge meets opportunity!

About

  • Company
  • Monetize your knowledge
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved