Post Reply 
WYSIWYG editor in a computer algebra language
01-24-2023, 11:28 AM (This post was last modified: 01-24-2023 11:33 AM by toml_12953.)
Post: #4
RE: WYSIWYG editor in a computer algebra language
(01-23-2023 12:10 AM)compsystems Wrote:  What innovation does the SMathStudio programming language have? Since it does not require keywords to close the cyclic structures and so on, since it uses the tabulation with vertical lines to navigate a structure as shown in the following image

This idea should be replicated in modern calculator languages.

This reminds me of the way Python does things. That's why I'm not a big fan of Python. It's easy to lose track of indents. Putting a statement in the wrong column can change the whole meaning of a program. In BASIC,

Code:
If x>7 THEN
y=2
b=3
END IF

means the same thing as

Code:
IF x>7 THEN
  y=2
b=3
END IF

Whereas

Code:
if x==7:
  y=2
  b=3

is different than

Code:
if x==7:
  y=2
b=3

In fact posting BASIC code here by simply cutting and pasting the text into a message would work fine. Trying that with Python without code brackets would ruin the program since leading spaces are removed.

Tom L
Cui bono?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: WYSIWYG editor in a computer algebra language - toml_12953 - 01-24-2023 11:28 AM



User(s) browsing this thread: 1 Guest(s)