Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why is the syntax of Bistro different from Smalltalk?

0
Posted

Why is the syntax of Bistro different from Smalltalk?

0

The design of Bistro was driven by some very specific goals. Foremost among these are: • Compile Bistro code to standard Java class files. • Maintain the simplicity, expressiveness and readability of Smalltalk. • Support the ANSI standard Smalltalk behaviors where possible. • Support seamless integration with existing Java classes. • Support primitive methods written in Java . • Optimize messages to untyped receivers as much as possible without modifications to the Java VM. • Optimize messages to typed receivers, including typed variables, arguments, and casted receivers. • Provide mechanisms for porting Smalltalk code to a Java runtime environment. Goals 1 and 2 were the primary factors I had to keep in balance during language design. They provided a constant tension for many decisions. Goals 2 and 6 drove the design of the syntax for Bistro messages and methods. Goals 3 and 4 drove the development of the initial class library supplied with Bistro. Goals 5 and 7 provided support for i

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123