Skip to content

Supported by Google Education Grant: tool to introduce programming in native spoken language (English,Hindi, etc.) and enable transition to industry-standard language such as JavaScript. See course: https://jschanker.github.io/blockly-text2code/csc1030/?level=0 (0 can be changed to 1-18). See: https://www.youtube.com/watch?v=u7mhjmR36as (Mobile …

License

Notifications You must be signed in to change notification settings

jschanker/blockly-text2code

Repository files navigation

Blockly Text2Code

An educational tool for creating block-based and textual languages that enable programming novices to code in their native languages before transitioning to industry-standard ones such as JavaScript.

Environment Features/Customizations

  • Fully customizable block-based language: Refer to https://developers.google.com/blockly/guides/overview for more information about creating a block-based language and translations to executable JavaScript (and other industry-standard languages)
  • Convert blocks from pedagogical language to pure JavaScript blocks.
  • Fully customizable text-based language that embeds in JavaScript allowing person to program using a combination of pedagogical code from their own native languages and pure JavaScript. To do this, JavaScript is extended via a library.
  • Parser/Evaluator to convert text-based language to block-based language. Production rules of Context-free grammar can be specified in grammar JSON files. Interpretations are specified in block-interpretations.
  • Multi-lingual support: Add language constants in msg files.

English/Hindi Demo

To test with string function blocks, open exact.html in the browser. For a video with a brief survey of the features using the Hindi blocks, see: https://www.youtube.com/watch?v=i-xbMmjWlHE . For introductory instructional videos with a few string problems in English, see: https://www.youtube.com/playlist?list=PLp2Y2vdJAgErWyk_kPlKDs9RjQ6YpzV9X .

More documentation about customization to be added in the future.

Build

If you make changes, you can reduild with Node Package Manager using the command: npm run build

About

Supported by Google Education Grant: tool to introduce programming in native spoken language (English,Hindi, etc.) and enable transition to industry-standard language such as JavaScript. See course: https://jschanker.github.io/blockly-text2code/csc1030/?level=0 (0 can be changed to 1-18). See: https://www.youtube.com/watch?v=u7mhjmR36as (Mobile …

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published