kscalelabs/klang

K-Lang WASM lexer + parser

Opened this issue · 2 comments

K-Lang WASM lexer + parser

A unittest/mvp that we can use in the website for standing:

function stand() {
console.log(Robot will now stand);
// Add turning logic here
}

or wave hands

function wave() {
console.log(Robot will now wavehands);
// Add turning logic here
}

rather than handcoding:
https://github.com/kscalelabs/store/blob/2285405f0aa570656d472b4eb199bbc5dadc16e7/frontend/public/examples/main.js#L211

this is a bit harder than i had anticipated - but for the sake of making progress, just make a textbox input which lets us move a joint (by id) to a position (as an angle)