Commit Graph

3106 Commits

Author SHA1 Message Date
damirka
d979a06eac fix output of characters in out file 2021-06-03 15:38:58 +03:00
dependabot-preview[bot]
860bbf6c96
Bump assert_cmd from 1.0.4 to 1.0.5
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/assert-rs/assert_cmd/releases)
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v1.0.4...v1.0.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-06-03 10:51:09 +00:00
damirka
1478e1be22 fix expectations for parser test 2021-06-02 15:48:11 +03:00
damirka
ecff3d6f2b fixes #995 2021-06-02 14:53:32 +03:00
dependabot-preview[bot]
3bd23de6e6
Bump thiserror from 1.0.24 to 1.0.25
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.24 to 1.0.25.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.24...1.0.25)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-06-01 02:55:40 +00:00
howardwu
eaadb29448 chore(leo): bump version for new release 2021-05-31 19:53:31 -07:00
Alessandro Coglio
b1e15f4219
Merge pull request #983 from AleoHQ/add-rust-string-syntax-refs
Update 001-initial-strings.md
2021-05-27 09:49:59 -07:00
Alessandro Coglio
059de410ba
Merge pull request #954 from AleoHQ/abnf-strings-epic
ABNF grammar updates for strings epic
2021-05-26 10:30:58 -07:00
Alessandro Coglio
c56208fa4b
Merge pull request #957 from AleoHQ/feature/char-type
Feature/char type
2021-05-26 09:22:35 -07:00
Eric McCarthy
37e9e35bf4
Update 001-initial-strings.md
Add references to Rust documentation on character literal syntax and string literal syntax.  Remove example of empty string.
2021-05-26 09:10:00 -07:00
gluax
bdcd945716 Merge branch 'feature/char-type' of github.com:AleoHQ/leo into feature/char-type 2021-05-25 16:37:55 -04:00
gluax
e53c35f3f2 made suggested changes 2021-05-25 16:36:59 -04:00
damirka
d578a1084e fix field tests for inputs, improves string and char inputs 2021-05-25 21:06:45 +03:00
damirka
760a0d545f Merge branch 'feature/char-type' of github.com:AleoHQ/leo into feature/char-type 2021-05-25 20:59:36 +03:00
damirka
8959d3e44b adds char and string tests for inputs and const inputs 2021-05-25 20:59:24 +03:00
gluax
bdcf7ce944 resolve direct unicode in a string 2021-05-25 13:49:26 -04:00
gluax
53a668ae14 resolve multiple chars in a char, tests for it 2021-05-25 12:18:01 -04:00
damirka
f36d9b960f StringLiteral -> StringLit 2021-05-25 16:07:55 +03:00
Alessandro Coglio
f0525792a9
Merge pull request #974 from AleoHQ/feature/string-parsing
[Feature] String parsing
2021-05-24 10:51:34 -07:00
damirka
a3416c1e3e added max value for \x7F escape 2021-05-24 15:13:33 +03:00
damirka
497b039d60 added few more test cases for strings 2021-05-24 13:10:28 +03:00
gluax
91f27bc046 explicit type resolves issue, will make bug for implict 2021-05-22 22:26:24 -04:00
gluax
7145a751d9 console.log refactor, concat test... has asg or TIPhase reducer bug 2021-05-22 21:15:07 -04:00
gluax
bce10cc885 quick test fix 2021-05-22 18:21:11 -04:00
gluax
1c57eb4196 input string syntax 2021-05-22 17:57:05 -04:00
gluax
8cb1dc6e30 remove debug stmts 2021-05-22 15:57:25 -04:00
gluax
efc83205f2 string parsing leverages eat_char 2021-05-22 15:53:30 -04:00
gluax
329b330c15 merge remote 2021-05-22 10:47:08 -04:00
gluax
ddbdd485d2 Revert "change pest according to suggestion fixes it"
This reverts commit c8e63a21d6.
2021-05-22 10:41:54 -04:00
gluax
cd95f48f77 forgot to remove debug stmt, and regen tests 2021-05-21 15:11:48 -04:00
Alessandro Coglio
c63a549670
Merge pull request #979 from AleoHQ/feature/string-canonicalization
Feature/string canonicalization
2021-05-21 12:11:12 -07:00
gluax
3971a6100d revert parsing char change, clean up lexing 2021-05-21 14:43:05 -04:00
gluax
cce0f597de Revert "refactor for better errors, code shouldn't have been in the lexer"
This reverts commit 1e1486f4ef.
2021-05-21 12:33:39 -04:00
gluax
c8e63a21d6 change pest according to suggestion fixes it 2021-05-20 20:10:00 -04:00
gluax
ca59ff3177 tests for now should be changed to use input strings when they are in 2021-05-20 14:30:12 -04:00
gluax
c4a1bd6955 merge and print strings like strings, rather than arrays 2021-05-20 12:50:49 -04:00
gluax
947f13b77b Merge branch 'feature/string-parsing' of github.com:AleoHQ/leo into feature/string-canonicalization 2021-05-20 12:40:08 -04:00
gluax
4fe91f0f39 string canonicalization to char array 2021-05-20 12:39:36 -04:00
damirka
a5f994ad88 Merge remote-tracking branch 'origin/feature/char-type' into feature/string-parsing 2021-05-20 19:27:51 +03:00
gluax
1e1486f4ef refactor for better errors, code shouldn't have been in the lexer 2021-05-19 18:14:56 -04:00
damirka
86fc23942b more comment fixes 2021-05-20 00:36:40 +03:00
damirka
f404c426ed fix comments 2021-05-20 00:33:39 +03:00
damirka
f96c4ad37e Merge branch 'feature/char-type' into feature/string-parsing 2021-05-20 00:24:22 +03:00
damirka
ed03a385b5 fix unicode chars 2021-05-19 23:59:54 +03:00
gluax
b6479b754f tests are passing interestingly but idk if they should be, == doesn't work for input on fields 2021-05-19 16:48:34 -04:00
damirka
737985034b fix tests 2021-05-19 23:46:47 +03:00
damirka
2f9fde8a0f removes commented blocks 2021-05-19 23:42:19 +03:00
damirka
39b61a0669 added character parsing 2021-05-19 23:36:53 +03:00
Alessandro Coglio
7aa3fa3b1a
Merge pull request #920 from AleoHQ/compiler-tests
[Tests] Compiler tests
2021-05-19 12:56:18 -07:00
gluax
3cc3c7ab02 call the char methods 2021-05-19 14:24:57 -04:00