Commit graph

650 commits

Author SHA1 Message Date
Shunsuke Shibayama
334b9d9f3a Improve error output 2022-09-26 01:21:06 +09:00
Shunsuke Shibayama
f1b8b5a6b8 Fix inferring bugs 2022-09-26 01:04:42 +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
e2b4b3fb07 Update instantiate.rs 2022-09-25 21:39:47 +09:00
Shunsuke Shibayama
d11b05ecff Fix inferring bugs 2022-09-25 21:32:49 +09:00
Shunsuke Shibayama
93388ddf80 Fix inferring bugs 2022-09-25 21:05:12 +09:00
Shunsuke Shibayama
9ccfdadf22 Add TypeAscription 2022-09-25 20:05:52 +09:00
Shunsuke Shibayama
6cfb0d1544 Prohibit inner scope type definition 2022-09-25 18:43:45 +09:00
Shunsuke Shibayama
f6e1a7b117 Remove unwraps 2022-09-24 19:15:55 +09:00
Shunsuke Shibayama
8541d38c7c Update compare.rs 2022-09-24 15:57:51 +09:00
Shunsuke Shibayama
7b820f34ad Update version (v0.5.3) 2022-09-24 15:43:07 +09:00
Shunsuke Shibayama
40fd927f0a Update mod.rs 2022-09-24 13:11:08 +09:00
Shunsuke Shibayama
62760d1d5e Update mod.rs 2022-09-24 13:07:50 +09:00
Shunsuke Shibayama
50524e4d0b Update version (v0.5.2) 2022-09-24 03:30:10 +09:00
Shunsuke Shibayama
10360269f5 Update inquire.rs 2022-09-24 02:16:11 +09:00
Shunsuke Shibayama
438ae9c2d6 Add Context::dir 2022-09-24 01:32:21 +09:00
Shunsuke Shibayama
c6de914f3f Fix #177 2022-09-23 12:02:53 +09:00
Shunsuke Shibayama
5366bfadc4 Fix warns 2022-09-23 11:59:31 +09:00
Shunsuke Shibayama
a79f0652ab Update version (v0.5.1) 2022-09-23 00:23:38 +09:00
Shunsuke Shibayama
7ec5af53d9 Fix: fake class -> real module 2022-09-23 00:16:45 +09:00
Shunsuke Shibayama
308bb42cbd Fix Linker 2022-09-22 22:09:47 +09:00
Shunsuke Shibayama
a5a0324883 Handle import errors 2022-09-22 22:02:59 +09:00
Shunsuke Shibayama
9c967d32f6 Fix #174 2022-09-22 21:52:06 +09:00
Shunsuke Shibayama
26a26e90de Update traits.rs 2022-09-22 19:14:37 +09:00
Shunsuke Shibayama
8ce843a8df WIP: fix REPL 2022-09-22 15:46:09 +09:00
Shunsuke Shibayama
b56236a3b5 Update version (v0.5.0) 2022-09-22 14:54:25 +09:00
Shunsuke Shibayama
87cd17e424 Update register.rs 2022-09-22 14:52:29 +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
9a4a702ebe Fixed to allow types to be uniquely determined between modules 2022-09-22 13:23:43 +09:00
Shunsuke Shibayama
6f3f00a369 Fixed to register <builtins> to mod_cache 2022-09-22 10:37:39 +09:00
Shunsuke Shibayama
f815a7df7b Update lib.rs 2022-09-21 23:24:02 +09:00
Shunsuke Shibayama
d452a2d734 Update inquire.rs 2022-09-21 22:15:09 +09:00
Shunsuke Shibayama
bbd66e5936 Update mod.rs 2022-09-21 22:13:36 +09:00
Shunsuke Shibayama
29bf88e4b9 Update instantiate.rs 2022-09-21 21:43:01 +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
9417d7c5d3 Fix: remove comment and add a case of same line 2022-09-21 13:40:47 +09:00
Shunsuke Shibayama
c1d92bc0f4 Fix lower bugs 2022-09-21 11:22:18 +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
GreasySlug
13ed754b64 Update: can use multi-line string in REPL 2022-09-21 08:39:32 +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
Slug
beb10ef166
Merge branch 'erg-lang:main' into feature/multi-line-strings 2022-09-20 16:03:57 +09:00