Commit graph

208 commits

Author SHA1 Message Date
GreasySlug
7225aac2a4 Update: structurally displayed 2022-10-05 09:10:54 +09:00
GreasySlug
20cc00d173 Add: impl set with len and register builtin ctx 2022-10-04 08:32:57 +09:00
GreasySlug
6e6edb5d7e Add: lower for the set literal 2022-10-03 17:21:59 +09:00
GreasySlug
bc63e9c9cb Add: parse set literal 2022-10-03 17:00:00 +09:00
GreasySlug
9d4949c70f Add: parse empty literals using braces 2022-10-03 16:55:26 +09:00
Shunsuke Shibayama
894c4a4c38 Update version (v0.5.6) 2022-10-03 11:16:19 +09:00
Shunsuke Shibayama
a4f0ad4024 Add and, or type parsing 2022-10-02 11:53:15 +09:00
Shunsuke Shibayama
cbb2a8c211 Update version (nightly) 2022-10-01 14:43:07 +09:00
Shunsuke Shibayama
7906eff50d Fix parse.rs 2022-10-01 14:39:30 +09:00
Shunsuke Shibayama
423206920a Add execution test 2022-10-01 01:11:31 +09:00
Shunsuke Shibayama
4e9dbe0e98 Update parse.rs 2022-09-30 18:50:33 +09:00
Shunsuke Shibayama
d4b6e6000e Update version (v0.5.5) 2022-09-30 01:22:43 +09:00
Shunsuke Shibayama
f0c9f04027 Update parse.rs 2022-09-29 12:04:16 +09:00
Shunsuke Shibayama
23a6f630c9 Fix import to be called from anywhere 2022-09-29 11:48:38 +09:00
Shunsuke Shibayama
f548f9e6ef Add type specification for array and range types 2022-09-28 00:05:23 +09:00
Shunsuke Shibayama
8a9b38d083 Update version (nightly) 2022-09-27 23:19:45 +09:00
Shunsuke Shibayama
348a37a746 Fix to continue compilation even if module compilation fails 2022-09-27 23:18:15 +09:00
Shunsuke Shibayama
1c7ec91a02 Update version (nightly) 2022-09-27 10:04:14 +09:00
Shunsuke Shibayama
f983db1506 Update version (nightly) 2022-09-27 09:43:57 +09:00
Shunsuke Shibayama
733e758398 Update version (v0.5.4) 2022-09-26 21:51:15 +09:00
Shunsuke Shibayama
4d6c7f7590 Add d.er syntax 2022-09-26 21:49:33 +09:00
Shunsuke Shibayama
5aae4a69a5 Split cache between Python and Erg modules 2022-09-26 14:03:06 +09:00
Shunsuke Shibayama
a837022404 Update version (nightly) 2022-09-26 00:31:34 +09:00
Shunsuke Shibayama
56d23936de Update parse.rs 2022-09-26 00:28:43 +09:00
Shunsuke Shibayama
792c0ca3b4 impl Error for CompileError 2022-09-25 23:43:31 +09:00
Shunsuke Shibayama
7fad8d9eee Update version (nightly) 2022-09-25 21:43:48 +09:00
Shunsuke Shibayama
6cfb0d1544 Prohibit inner scope type definition 2022-09-25 18:43:45 +09:00
Shunsuke Shibayama
7b820f34ad Update version (v0.5.3) 2022-09-24 15:43:07 +09:00
Shunsuke Shibayama
50524e4d0b Update version (v0.5.2) 2022-09-24 03:30:10 +09:00
Shunsuke Shibayama
a79f0652ab Update version (v0.5.1) 2022-09-23 00:23:38 +09:00
Shunsuke Shibayama
9c967d32f6 Fix #174 2022-09-22 21:52:06 +09:00
Shunsuke Shibayama
b56236a3b5 Update version (v0.5.0) 2022-09-22 14:54:25 +09:00
Shunsuke Shibayama
5c5ea55fa1
Merge pull request #173 from erg-lang/module
Add user-defined module
2022-09-22 13:28:44 +09:00
Shunsuke Shibayama
6f3f00a369 Fixed to register <builtins> to mod_cache 2022-09-22 10:37:39 +09:00
Shunsuke Shibayama
8c50c6b423 Fix some visibility bugs 2022-09-21 21:28:37 +09:00
Shunsuke Shibayama
9b0d66a63a Add "check" mode
Input::File(String) -> Input::file(PathBuf)
2022-09-21 14:01:20 +09:00
GreasySlug
baf7b3eb38 Test: check to see if quotations are tokenized 2022-09-21 13:49:04 +09:00
GreasySlug
77e5e0422f Fix: fixed a bug that caused quotation marks to be ignored 2022-09-21 13:42:05 +09:00
GreasySlug
f3ee492bf8 Refactor: extract methods for unclosed errors
If used when multiple lines are not closed with """,
it will cause the error.
2022-09-21 08:44:13 +09:00
Shunsuke Shibayama
201b313cd2 Add builder & linker 2022-09-21 01:21:17 +09:00
Shunsuke Shibayama
671fbee518 merge from trait 2022-09-21 01:17:11 +09:00
GreasySlug
8daed047a8 Test: add tokenize test for multi-line strings 2022-09-20 16:06:09 +09:00
GreasySlug
f1dd25e508 Update: add closure for error and, line and col
The length of the string is calculated as the rightmost
newline or 0, and that is the message of the error
2022-09-20 16:05:53 +09:00
Shunsuke Shibayama
d8799f0895 Refactor
Add `ASTBuilder`, `Checker`
2022-09-20 14:42:37 +09:00
GreasySlug
e4e6dbf524 Test: check that multiple lines are displayed 2022-09-19 16:03:10 +09:00
GreasySlug
5c319abf74 Add: add case separation when a multi-line
string is received
2022-09-19 16:03:10 +09:00
GreasySlug
8b7c297bce Add: implement the method for multi-line string
Basically, this is using lex_str()'s.
This is used lex_multi_line_comment()'s when a
new line comes in to update the line number
2022-09-19 16:03:10 +09:00
Shunsuke Shibayama
a9d4e5982b Merge branch 'main' into beta 2022-09-19 10:45:09 +09:00
GreasySlug
4c65b6e729 Test: ensure that multi-line strings are invalid 2022-09-19 10:18:36 +09:00
GreasySlug
6619bbee8a Fix: Disabled line breaks in strings
The '\n' character can be used, but the line break itself
cannot be used within a string
2022-09-19 10:05:15 +09:00