Wednesday, May 29, 2019

Rosetty: A YAML/JS/Node/Python Dual Language View Tutorial Template

http://bit.ly/2EFVqlP

My goal was to create a dual language viewer as a tool to use at a meetup - basically a lesson plan that people can take home and study if they like. I used the Rosetta Stone as a basis for this simple template. I only have python and javascript side by side, but the section.yaml can easily be added on to add more languages and more sections to each languages. http://bit.ly/2XiBGfq

I made this with a Yaml file that has all the paragraphs in it, I used a python script to syntax highlight and url replace google(subject) with google search links. Node.js is used as the basic file server. Tornado could have also been used. Vanilla javascript is used alongside js-yaml.

Further work I would like to accomplish would be to : 1. get sections for classes, inheritance, and string manipulation. 2. Put in Go and Java so someone could compare Java with Python, Python with Go, and Go with Java. each side by side. 3. Make more pages with the yaml as a template. 4. Do meetups!


Comments URL: https://news.ycombinator.com/item?id=20037339

Points: 1

# Comments: 3



from Hacker News: Newest http://bit.ly/2JH0BGl
via IFTTT

No comments:

Post a Comment

Show HN: rtrvr.ai – AI Web Agent for Automating Workflows and Data Extraction

Hey HN, I'm excited to share rtrvr.ai, a Chrome extension that brings the power of AI agents to your everyday web browsing. It's de...