Crate sjfl

Source

Structs§

Datetime
TODO: timezone
InternedString
List
Session
Table

Enums§

SJFLError
SJFLType
Value

Functions§

evaluate
s shall not contain any statement. But it can use variables in the session.
evaluate_file
file_name should not contain a file extension. If file_name is foo, it looks for foo.sjfl and foo.bsjfl in the current directory. It tries to use the binary one if available. You cannot access files in another directory.
execute
Instead of returning the result, it mutates the session. It only returns Err when it fails.
execute_file
The second field of the error variant is an error message.