-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Singkong Programming Language (v10.4)
- Loading branch information
Showing
11 changed files
with
22 additions
and
15 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
a8ff41c386441fc503339056fad200b3 Singkong.jar | ||
72fc980d77ac0b9dc395634d0ec7a364 Singkong.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ Singkong Programming Language Interpreter | |
(c) Noprianto <[email protected]>, 2019-2024 | ||
Website: nopri.github.io | ||
License: Free to use or redistribute, no warranty | ||
Version: 10.3 (2024-November-23 +07:00) | ||
Version: 10.4 (2024-November-24 +07:00) | ||
|
||
Singkong is based on Monkey.java: an open source, simple implementation of | ||
Monkey programming language interpreter in Java. | ||
|
@@ -104,7 +104,7 @@ built-in functions, please set -DDISABLE=-. | |
- No command line argument: interactive | ||
java -jar Singkong.jar | ||
|
||
Singkong 10.3 | ||
Singkong 10.4 | ||
Press ENTER to quit | ||
> var hello = "Hello World" | ||
> hello | ||
|
@@ -206,15 +206,16 @@ VAR | |
Note: to get list of keywords, please use built-in function keywords. | ||
|
||
Data types: | ||
Related functions: builtins, eval, is, is_array_and_of, is_array_of, is_array_of_component_of, | ||
hash, print, println, puts, string, type, types, variables | ||
Related functions: builtins, eval, ifnull, is, is_array_and_of, is_array_of, | ||
is_array_of_component_of, hash, print, println, puts, string, type, types, variables | ||
|
||
- NULL | ||
- null | ||
- null literal | ||
- null may also returned from built-in functions | ||
- null is not printed. To print null, please use | ||
print, println, puts, or message. | ||
- related functions: ifnull | ||
- NUMBER | ||
- any integer and decimal | ||
- precision: 10240, default scale: 4 | ||
|
@@ -891,7 +892,7 @@ To get a list of built-in functions, please call builtins() | |
"FRAME_LOCATION", "FRAME_TOP", "FROM_BIN", "FROM_HEX", "FROM_OCT", "GET", | ||
"GRID_ADD", "GRID_CLEAR", "GRID_REMOVE", "GUI", "HASH", "HELP", "HIDE", "HOUR", | ||
"HTTP_DELETE", "HTTP_GET", "HTTP_GET_FILE", "HTTP_HEAD", "HTTP_POST", | ||
"HTTP_POST_OVERRIDE", "HTTP_PUT", "HTTP_RESPONSE_OK", "IN", "INDEX", | ||
"HTTP_POST_OVERRIDE", "HTTP_PUT", "HTTP_RESPONSE_OK", "IFNULL", "IN", "INDEX", | ||
"INET_ADDRESS", "INET_ADDRESS_LOCAL", "INFO", "INPUT", "INTEGER", "INTEGER_GCD", | ||
"INTERACTIVE", "IS", "IS_ARRAY_AND_OF", "IS_ARRAY_OF", | ||
"IS_ARRAY_OF_COMPONENT_OF", "IS_LEAP_YEAR", "IS_RECT_ARRAY", "IS_RECT_ARRAY_OF", | ||
|
@@ -931,7 +932,7 @@ To get a list of built-in functions, please call builtins() | |
"YEAR"] | ||
|
||
> len(builtins()) | ||
350 | ||
351 | ||
|
||
Note: a built-in function may be disabled when the interpreter is run. In such | ||
case, an error will be returned when the function is called. | ||
|
@@ -4764,6 +4765,11 @@ show() | |
----------------------------------------------------------------------------- | ||
|
||
30. Changelog | ||
Version: 10.4 (2024-November-24 +07:00) | ||
- 351 built-in functions | ||
new: ifnull | ||
- 9 built-in modules | ||
|
||
Version: 10.3 (2024-November-23 +07:00) | ||
- 350 built-in functions | ||
- 9 built-in modules | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
10.3 | ||
10.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters