{"size": 1158, "ext": "js", "max_stars_repo_path": "honk.js", "max_stars_repo_name": "imagineeeinc/honk", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "honk.js", "max_issues_repo_name": "imagineeeinc/honk", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "honk.js", "max_forks_repo_name": "imagineeeinc/honk", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 22.7058823529, "max_line_length": 76, "alphanum_fraction": 0.4896373057}
const honk = {
	toHtml: function(...opts) {
		let markup = opts[0]
		let args = opts[1]
		let lastWord = ''
		let lastLet = ''
		let output
		let curElement = null
		let curElementAttrs = []
		let curAttrs = ''
		let curAttrTxt
		let attrOpen = false
		let attrTxtOpen = false
		for(var i=0;i < markup.length;i++) {
			let cur = markup[i]
			console.log(cur)
			if (cur == ' ' || cur == '\t' || cur == '\n') {
				lastWord = ''
			}
			if (lastWord.length > 0 && lastLet != '\\' && cur == ':' || cur == '(') {
				curElement = lastWord
				lastWord = ''
				
				if (cur == '(') {
					attrOpen = true
				}
				if (cur == ':' && attrOpen == true) {
					curAttrs = lastWord
				}
			}
			if (cur == '"' || cur == "'" || cur == '`' && attrOpen == true){
				if (attrTxtOpen == true) {
					attrTxtOpen = false
				} else {
					attrTxtOpen = true
				}
			}
			if (attrTxtOpen == true) {
				curAttrTxt += cur
			}
			if (cur == ',' || cur == " " && attrOpen == true){
				curElementAttrs.push({name: curAttrs, txt: curAttrTxt})
			}
			lastLet = cur
			if (cur != ' ' || cur != '\t' || cur != '\n' || attrOpen == true) {
				lastWord += cur
			}
		}
		
	}
}