Commit graph

  • 735c06d5f4
    Fix full-lexer feature (#38) Jeong, YunWon 2023-05-16 15:45:03 +09:00
  • 02f13abf50
    Add Node trait for node type information (#31) Jeong, YunWon 2023-05-16 15:41:30 +09:00
  • 4996c83f4c Fix full-lexer feature Jeong YunWon 2023-05-16 15:36:03 +09:00
  • 10dda125ff
    Always emit non-logical newlines for 'empty' lines (#27) Charlie Marsh 2023-05-15 14:13:05 -04:00
  • 1f9801934e Add Node trait for node type information Jeong YunWon 2023-05-15 17:51:22 +09:00
  • 27e3873dc2
    Add full-lexer feature (#36) Jeong, YunWon 2023-05-16 02:21:34 +09:00
  • 825d8f5ff7
    Update parser/src/lexer.rs Jeong, YunWon 2023-05-16 02:20:24 +09:00
  • 53d7d606a6 full-lexer feature Jeong YunWon 2023-05-16 02:04:09 +09:00
  • 66ccbc8d00 Always emit non-logical newlines for 'empty' lines Charlie Marsh 2023-05-14 23:03:47 -04:00
  • dd4cc25227
    Reduce copying elements when parsing (#35) Micha Reiser 2023-05-15 16:20:44 +02:00
  • 47f854ac2d try cache 1 Jeong YunWon 2023-05-15 21:25:51 +09:00
  • 5594372a8f
    Reduce copying elements when parsing Micha Reiser 2023-05-15 13:57:26 +02:00
  • c89a2b2378 x Jeong YunWon 2023-05-15 20:17:41 +09:00
  • b78001c953
    Generic types to generic (#30) Jeong, YunWon 2023-05-15 20:22:42 +09:00
  • 269a9a98da working Jeong YunWon 2023-05-15 18:03:34 +09:00
  • c9924fcc39 parser-pyo3 Jeong YunWon 2023-05-15 18:02:39 +09:00
  • 1a07454dc7 ast::pyo3 Jeong YunWon 2023-05-15 18:01:50 +09:00
  • 708d8061d3 Generic types to generic Jeong YunWon 2023-05-15 17:40:25 +09:00
  • ba54e64c0e Add Node trait for node type information Jeong YunWon 2023-05-15 17:51:22 +09:00
  • c4847adf2f
    Try ThinVec crate to reduce AST size Micha Reiser 2023-05-14 22:22:29 +02:00
  • 2222e95e36 Generic types to generic Jeong YunWon 2023-05-15 17:40:25 +09:00
  • 718354673e
    Move range to node (#23) Jeong, YunWon 2023-05-15 16:20:22 +09:00
  • f98bb6a778 Fix module generation Jeong YunWon 2023-05-14 11:12:09 +09:00
  • 1825d3e1f7 black + clippy Jeong YunWon 2023-05-14 17:18:33 +09:00
  • 192379cede
    Move range from Attributed to Nodes (#22) Micha Reiser 2023-05-15 08:08:12 +02:00
  • 1cf14ac807
    Fix build Micha Reiser 2023-05-14 18:32:13 +02:00
  • cd89c0efc3
    Update tests Micha Reiser 2023-05-14 17:10:21 +02:00
  • c2e9921785
    Move Suite to ranged and located Micha Reiser 2023-05-14 17:06:30 +02:00
  • 028c04466d
    Make range the first field, change conditional compilation, use assert_eq_size` Micha Reiser 2023-05-14 17:04:11 +02:00
  • be93244938
    Code review feedback Micha Reiser 2023-05-13 23:29:12 +02:00
  • a913c339f6
    Implement Copy on simple enums Micha Reiser 2023-05-13 19:33:53 +02:00
  • 3277ec29af
    Fix tests, rename feature Micha Reiser 2023-05-13 18:08:20 +02:00
  • bbfaf17b0b
    Generate all located variants, generate enum implementations Micha Reiser 2023-05-13 17:43:07 +02:00
  • 7e48ec46b9
    Cleanup Micha Reiser 2023-05-12 19:43:56 +02:00
  • 535ec930c9
    Hackery Micha Reiser 2023-05-12 16:01:18 +02:00
  • 30c67da455
    clean up Jeong YunWon 2023-05-12 05:15:55 +09:00
  • 3a9abf5b9c
    Fix fold Jeong YunWon 2023-05-12 05:02:01 +09:00
  • 26aea4030e
    Fix custom Jeong YunWon 2023-05-12 03:56:29 +09:00
  • 904f5c8b37
    No Attributed + custom for Range PoC Jeong YunWon 2023-05-12 03:41:41 +09:00
  • ba0ae51e82
    Move range from Attributed to Nodes Micha Reiser 2023-05-11 16:28:10 +02:00
  • a983f4383f
    Add format and cformat modules from RustPython (#24) Micha Reiser 2023-05-12 11:27:05 +02:00
  • 6e4b7d37fc
    Remove unused dependencies Micha Reiser 2023-05-12 11:14:31 +02:00
  • 895f923567
    Introduce rustpython-format crate Micha Reiser 2023-05-12 11:11:05 +02:00
  • 263f96fe7b
    Add format and cformat modules from RustPython Micha Reiser 2023-05-12 10:39:14 +02:00
  • 947fb53d0b
    Field accessor and utilities (#20) Jeong, YunWon 2023-05-11 19:44:20 +09:00
  • b2673a4019 Apply is-macro to ast nodes Jeong YunWon 2023-05-11 18:14:14 +09:00
  • 706ac3364c basic field accessors Jeong YunWon 2023-05-11 16:33:44 +09:00
  • 2baad9ead6
    Merge pull request #19 from RustPython/identifier Jeong, YunWon 2023-05-11 16:12:46 +09:00
  • 2af9805662 A few more Identifier utilities Jeong YunWon 2023-05-11 16:05:11 +09:00
  • 5b2af304a2
    Merge pull request #17 from youknowone/ruff Jeong, YunWon 2023-05-11 04:42:52 +09:00
  • cbe4e8c5f3 Make parser location optional Jeong YunWon 2023-05-11 04:17:56 +09:00
  • aabc96dde9 ruff integration support Jeong YunWon 2023-05-11 04:08:57 +09:00
  • 99e108dd53 *Escape::with_preferred_quote Jeong YunWon 2023-05-10 21:51:01 +09:00
  • d6b6df5d1c ast::Int::to_usize Jeong YunWon 2023-05-10 21:31:02 +09:00
  • 822cac5aa0 parse_expression{=>_starts}_at Jeong YunWon 2023-05-10 21:25:58 +09:00
  • aa101e4f26 fix ImportDots Jeong YunWon 2023-05-10 20:30:53 +09:00
  • cbc4cb286b
    Merge pull request #16 from youknowone/ast-int Jeong, YunWon 2023-05-10 20:19:01 +09:00
  • 6fa3d0f90a Fine-tune int types Jeong YunWon 2023-05-10 19:26:53 +09:00
  • 455bcc01a0 Give identifier and int ast types Jeong YunWon 2023-05-10 19:17:11 +09:00
  • d495cd9129
    Merge pull request #15 from youknowone/spellchecker Jeong, YunWon 2023-05-10 18:11:40 +09:00
  • d8822d1091 spell check ast/asdl_rs.py Jeong YunWon 2023-05-10 18:05:39 +09:00
  • 75f6ce1ae5 Setup spell checker Jeong YunWon 2023-05-10 17:40:37 +09:00
  • 41e9e7280a
    Merge pull request #12 from youknowone/visitor Jeong, YunWon 2023-05-10 17:52:25 +09:00
  • 17c8abcec1 asdl_rs.py to multiple file output Jeong YunWon 2023-05-10 17:30:28 +09:00
  • e000b1c304 Remove redundant types Jeong YunWon 2023-05-07 23:19:39 +09:00
  • 243ca16b34 Fix visitor to fit in new structure Jeong YunWon 2023-05-07 21:19:29 +09:00
  • 4de9580b92 Generate a visitor trait to ast_gen.rs Joshua 2023-05-07 20:43:45 +09:00
  • 5cf85f0b9d
    Merge pull request #13 from youknowone/locator Jeong, YunWon 2023-05-10 17:04:30 +09:00
  • 4dc030ba9d Vendor SourceLocation from ruff Jeong YunWon 2023-05-10 15:27:28 +09:00
  • 1d366d52ab Let located only for python located stuff Jeong YunWon 2023-05-10 03:17:56 +09:00
  • a3d9d8cb14 numerous refactoring Jeong YunWon 2023-05-10 02:36:52 +09:00
  • 09a6afdd04 Adapt SourceLocation Jeong YunWon 2023-05-09 18:30:35 +09:00
  • a14e43e03a Separate byteoffset ast and located ast Jeong YunWon 2023-05-06 21:35:43 +09:00
  • f47dfca4e3 Rename compiler Location to TextSize Jeong YunWon 2023-05-06 17:49:47 +09:00
  • 58c35ab458 Replace row/column based Location with byte-offsets. Micha Reiser 2023-05-06 15:54:14 +09:00
  • 7b8844bd3e
    Merge pull request #11 from youknowone/refactor-asdl Jeong, YunWon 2023-05-07 19:29:02 +09:00
  • 6d7358090b Refactor ast to hold data as seperated type Jeong YunWon 2023-05-07 17:14:17 +09:00
  • 9f1a538eba gitattribute Jeong YunWon 2023-05-07 17:20:44 +09:00
  • 774e3d7e8c Rename compiler Location to TextSize Jeong YunWon 2023-05-06 17:49:47 +09:00
  • 56f3371b73 Replace row/column based Location with byte-offsets. Micha Reiser 2023-05-06 15:54:14 +09:00
  • 48920a034e
    Merge pull request #10 from youknowone/remove-compile-error Jeong, YunWon 2023-05-06 17:20:44 +09:00
  • 13d6e275ef Remove CompileError Jeong YunWon 2023-05-06 17:15:18 +09:00
  • 96eb80f5cf
    Merge pull request #8 from youknowone/python-lint Jeong, YunWon 2023-05-06 14:42:15 +09:00
  • a73bac9ed1 Add python lint Jeong YunWon 2023-05-06 14:34:31 +09:00
  • 6b60f85cc4
    Merge pull request #7 from youknowone/lalrpop Jeong, YunWon 2023-05-06 13:57:15 +09:00
  • 39b2dbe04d Update lalrpop to 0.20.0 Jeong YunWon 2023-05-06 04:34:51 +09:00
  • e1f70100ac Update parser/build.rs to embed python.rs Jeong YunWon 2023-05-06 04:33:49 +09:00
  • d66d935879
    Merge pull request #5 from youknowone/ci Jeong, YunWon 2023-05-06 03:42:28 +09:00
  • e28f333f23 Add CI Jeong YunWon 2023-05-06 03:39:20 +09:00
  • 0adcdd995d Remove unused workspace dependencies Jeong YunWon 2023-05-06 00:43:46 +09:00
  • 7159de863c Set up workspace - Forked from fork-init Jeong YunWon 2023-05-05 23:49:34 +09:00
  • e6eb49ffb0 Set up workspace - Forked from main2 Jeong YunWon 2023-05-05 23:49:34 +09:00
  • a0a2f65bf0 rustpython-literal Jeong YunWon 2023-05-05 20:41:18 +09:00
  • 80109b1fe0 rustpython-literal Jeong YunWon 2023-05-05 20:41:18 +09:00
  • e09b23d3fb Refactor common::bytes::repr using common::escape Jeong YunWon 2023-05-03 15:01:52 +09:00
  • bd64603950 Refactor common::bytes::repr using common::escape Jeong YunWon 2023-05-03 15:01:52 +09:00
  • bbbe25336a Refactor common::str::repr using common::escape Jeong YunWon 2023-05-03 03:25:40 +09:00
  • 5b0e92d725 Refactor common::str::repr using common::escape Jeong YunWon 2023-05-03 03:25:40 +09:00
  • 31fd625321 Add Located::start, Located::end and impl Deref Micha Reiser 2023-04-26 10:24:34 -06:00
  • ae9d3c3193 Add Located::start, Located::end and impl Deref Micha Reiser 2023-04-26 10:24:34 -06:00