Commit graph

350 commits

Author SHA1 Message Date
Shunsuke Shibayama
c1d92bc0f4 Fix lower bugs 2022-09-21 11:22:18 +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
Shunsuke Shibayama
d8799f0895 Refactor
Add `ASTBuilder`, `Checker`
2022-09-20 14:42:37 +09:00
Shunsuke Shibayama
f12c2ba723 Add SharedModuleCache
Rename: RcCell -> Shared
2022-09-20 11:51:18 +09:00
Shunsuke Shibayama
9fa51809ea Rename: Linker -> Reorderer 2022-09-19 19:07:02 +09:00
Shunsuke Shibayama
8d19820c21 Update compile.rs 2022-09-19 18:37:20 +09:00
Shunsuke Shibayama
a9d4e5982b Merge branch 'main' into beta 2022-09-19 10:45:09 +09:00
Shunsuke Shibayama
d62fe97593
Merge pull request #169 from GreasySlug/feature/multi-line-strings
Added error on line braek in string
2022-09-19 10:44:50 +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
Shunsuke Shibayama
54fa23caab Update version (v0.5.0-beta.0) 2022-09-19 00:59:50 +09:00
Shunsuke Shibayama
d62e86d238 Update mod.rs 2022-09-19 00:55:54 +09:00
Shunsuke Shibayama
eb5986f8c9 Fix codegen.rs 2022-09-19 00:55:45 +09:00
Shunsuke Shibayama
67e4607c70 Impl trait code generating 2022-09-19 00:34:39 +09:00
Shunsuke Shibayama
45df0849fb Rename types
`Function` -> `Func`
`Procedure` -> `Proc`
2022-09-18 17:57:47 +09:00
Shunsuke Shibayama
bd17bf3299 Add DefKind 2022-09-18 17:56:58 +09:00
Shunsuke Shibayama
1a3f204879 Update codegen.rs 2022-09-18 11:13:06 +09:00
Shunsuke Shibayama
ad57864b6e Update codegen.rs 2022-09-18 00:45:26 +09:00
Shunsuke Shibayama
f95ff44907 Fix tyvar.rs 2022-09-18 00:31:35 +09:00
Shunsuke Shibayama
e4341bd567 Update codegen.rs 2022-09-17 23:39:41 +09:00
Shunsuke Shibayama
126ef734b2 WIP: trait implementation 2022-09-17 23:38:23 +09:00
Shunsuke Shibayama
da38e9ace2 Update comment.er 2022-09-17 23:34:14 +09:00
Shunsuke Shibayama
11633d2905 Fix: "\n" in multi-line comments advances the line 2022-09-17 23:33:36 +09:00
Shunsuke Shibayama
e4eed24a42 WIP: trait implementation 2022-09-17 22:26:56 +09:00
Shunsuke Shibayama
abb6bcd320 WIP: trait implementation 2022-09-17 20:39:13 +09:00
Shunsuke Shibayama
3b7eebe041 WIP: Implement explicit type variable declarations 2022-09-17 17:25:07 +09:00
GreasySlug
abae84af56 Test: tested multi-line comments are recognized 2022-09-17 14:45:59 +09:00
GreasySlug
2b9d82e07e Add: implemented method for multi-line comment 2022-09-17 14:35:30 +09:00
Shunsuke Shibayama
aa527dcbc8 WIP: impl Trait 2022-09-17 01:42:49 +09:00
Shunsuke Shibayama
346d00fcd8 Impl UserConstSubr 2022-09-16 23:33:10 +09:00
GreasySlug
0bb9ef6a85 Test: additional testing of fixed issues
Double quotation char is missing, so added it
Added a test to see if the added escaping characters work
2022-09-16 20:55:57 +09:00
GreasySlug
857742dd96 Fix: missing " is added 2022-09-16 20:46:53 +09:00
Shunsuke Shibayama
91b7ba3c05 Add TypeAppArgs 2022-09-16 15:27:19 +09:00
Shunsuke Shibayama
85fdb4c724 Merge branch 'main' into trait 2022-09-16 15:26:16 +09:00
Shunsuke Shibayama
5b5ffb1fb6 Update lex.rs 2022-09-16 14:57:58 +09:00
Shunsuke Shibayama
8f47e1e2dc Merge branch 'main' into trait 2022-09-16 10:56:31 +09:00
GreasySlug
369b57d441 Fix: added skip with escape char
If the current character is an escape character,
skip it and look at the next character.
 If the next character is part of a control character,
 insert it into the String as a control character
2022-09-16 08:36:54 +09:00
GreasySlug
d6be5380aa Clean: extract unicode errors for strings 2022-09-16 08:36:54 +09:00
Shunsuke Shibayama
d2ad7caaab Update ErgConfig and Runnable 2022-09-16 02:21:04 +09:00
Shunsuke Shibayama
d7ffb211a8 let errors more readable 2022-09-16 00:35:58 +09:00
Shunsuke Shibayama
ba13cf25c8 Fix comparison operators types 2022-09-16 00:35:36 +09:00
Shunsuke Shibayama
f8e3a04336 Update hints 2022-09-16 00:20:06 +09:00
Shunsuke Shibayama
7455c4ac0f Delete resolve_trait 2022-09-16 00:19:51 +09:00
Shunsuke Shibayama
72748b639e Update compare.rs 2022-09-16 00:17:47 +09:00
Shunsuke Shibayama
4615c774f0 Fix __pow__, __mod__ types 2022-09-16 00:15:13 +09:00
Shunsuke Shibayama
19428a417f Update version (v0.4.7) 2022-09-15 19:20:53 +09:00
Shunsuke Shibayama
042ea70ec6 Update tokenize_test.rs 2022-09-15 15:26:39 +09:00
Shunsuke Shibayama
1b37976701 Update test2_advanced_syntax.er 2022-09-15 15:21:01 +09:00
Shunsuke Shibayama
90149c0c9c Update parse_test.rs 2022-09-15 15:20:50 +09:00