Open LingDong- opened 4 years ago
Actually I like how blunt the dark mode hack is! XD
A few ideas
mandelbrot (Edited)
for the examples dropdown?file=untitled-1
Just listing the ideas here. I can also try to implement this when I got some time.
I think that the IDE should to be another repository.
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 :P