Published
Edited
Mar 19, 2020
4 stars
Insert cell
Insert cell
Insert cell
// WTS1 = require('web-tree-sitter')
Insert cell
Insert cell
Insert cell
ts2arr()(await FIRRTL(`
circuit C1 :
module M1 :
input clk : Clock
input addr : UInt<11>
output data : UInt<32>
`))
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
traverse = cb => {
const enter = cb.enter;
const leave = cb.leave;

const rec = node => {
const childCount = node.childCount;
enter(node);
for (let i = 0; i < childCount; i++) {
rec(node.child(i));
}
leave(node);
};

return rec;
};
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more