9 ms·
The forum will get a response from Gilad or others: https://groups.google.com/forum/#!forum/newspeaklanguage https://groups.google.com/forum/#!forum/newspeaklan
by diskzero 5y ago
The forum will get a response from Gilad or others: https://groups.google.com/forum/#!forum/newspeaklanguage https://groups.google.com/forum/#!forum/newspeaklanguage
A simple example of Newspeak and literate programming:
https://newspeaklanguage.org/samples/Literate/Literate.html https://newspeaklanguage.org/samples/Literate/Literate.html
The IDE works in a similar way to the Squeak-based IDE, but there is no image and being hosted in a browser has other limitations. This isn't a language you are going to use to make a quick and dirty CRUD app (although I have) but it is an interesting example of how Smalltalk concepts can be used in a web-based world.
- fiddlerwoaroof 5y agoIs there a sample that demonstrates Gilad’s ideas about parameterized modules?
- diskzero 5y agoI can only point you to the doc, which you may have already seen: https://www.bracha.org/newspeak-modules.pdf https://www.bracha.org/newspeak-modules.pdf It is worth asking on the forum to see if there is some exisiting code to show this in practice.
- fiddlerwoaroof 5y agoThanks, when I was working on a particularly convoluted React codebase, I realized that it's better to pass dependencies into modules rather than importing them and, when I looked around to see what prior art there was to this idea, I came across https://gbracha.blogspot.com/2009/06/ban-on-imports.html https://gbracha.blogspot.com/2009/06/ban-on-imports.html