Type Circuits

Open visualizer →
words = ["Type", "Circuits"]
for word in words:
  print(word)

What is Type Circuits?

Type Circuits is a computer science learning tool that visualizes programs using type inference, the process where compilers determine the data types of variables. CS teachers can use Type Circuits to facilitate class discussions about program behavior and error messages. The tool can also generate printable card-sorting activities for students to assemble.

Type Circuits currently supports subsets of JavaScript, Python, Java, C#, and Kotlin. You can start with one of the provided examples or paste in your own code snippets.

Type Circuits is developed by Wilson Gramer, a PhD student in Learning Sciences and Technologies at Worcester Polytechnic Institute.

Research & News