You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue #1 is finally resolved! wenyan-lang now has a (relatively complete) specification written in ANTLR (thanks @jiangzoi) 🎉. This also means that parsers in other langauges can potentially be generated automatically (in fact, @jiangzoi is now working on C++ compiler). Check it out here http://wy-lang.org/spec or plain text here ./documentation/wenyan.g4.
The HTML version has clickable anchors and in-page links. Handy for navigation, and links to specific statement/grammar can be posted like so: https://wy-lang.org/spec#assign_statement. Hope you find it useful!
New IDE: /ide2
Our online IDE now has a shiny new look (and a ton of new features). Please check it out here: https://wy-lang.org/ide2. New features include:
New layout system with resizable windows - like Sublime, VSCode, etc.
CodeMirror replaces in-house janky highlighter and editor. Slicker experience, and no more highlighting problem or input method conflicts (hopefully)!
Light and dark themes. (filthy CSS hack, but works)
Edit compiled JavaScript. Sometimes I want to tweak the output JS just a bit to quickly test some things before I go back to change the wenyan, now this is possible.
Run static typecheck by pressing Compile button. Signature will be shown to output window. Typecheck is skipped when using Run button.
Render code as pages from ancient books within the online IDE. Output is currently shown to the output window. To download however, you need to fire up the inspector and copy the source of the SVG's (OK I'll make a download button).
Poor man's autocompletion. You can click Insert... and type the initial letters of a keyword's pinyin, and press enter to insert the keyword at the cursor. This is an experimental abuse of the <select> element, and perhaps deserve a better GUI.
Please do check it out and let me know what you think! If it works well we'll replace the old one as the default IDE. I'll also do some dogfooding myself and make improvements. Thanks!
P.S. Currently the code for it (./ide2.html) is a pile of HTML-CSS-JS mixture all dumped in a 500-line soup. Some cleaning up needs to be done before it can be shown to the faint of heart :P
The text was updated successfully, but these errors were encountered:
Language Spec
Issue #1 is finally resolved! wenyan-lang now has a (relatively complete) specification written in ANTLR (thanks @jiangzoi) 🎉. This also means that parsers in other langauges can potentially be generated automatically (in fact, @jiangzoi is now working on C++ compiler). Check it out here http://wy-lang.org/spec or plain text here ./documentation/wenyan.g4.
The HTML version has clickable anchors and in-page links. Handy for navigation, and links to specific statement/grammar can be posted like so: https://wy-lang.org/spec#assign_statement. Hope you find it useful!
New IDE: /ide2
Our online IDE now has a shiny new look (and a ton of new features). Please check it out here: https://wy-lang.org/ide2. New features include:
Compile
button. Signature will be shown to output window. Typecheck is skipped when usingRun
button.Insert...
and type the initial letters of a keyword's pinyin, and press enter to insert the keyword at the cursor. This is an experimental abuse of the<select>
element, and perhaps deserve a better GUI.Please do check it out and let me know what you think! If it works well we'll replace the old one as the default IDE. I'll also do some dogfooding myself and make improvements. Thanks!
P.S. Currently the code for it (
./ide2.html
) is a pile of HTML-CSS-JS mixture all dumped in a 500-line soup. Some cleaning up needs to be done before it can be shown to the faint of heart :PThe text was updated successfully, but these errors were encountered: