Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement pegen actions #15

Open
36 of 37 tasks
s-cork opened this issue Jun 19, 2021 · 4 comments
Open
36 of 37 tasks

implement pegen actions #15

s-cork opened this issue Jun 19, 2021 · 4 comments

Comments

@s-cork
Copy link
Contributor

s-cork commented Jun 19, 2021

a list of functions we need to implement that are called from the generated_parser.ts

  • make_module
  • seq_append_to_end
  • singleton_seq
  • seq_flatten
  • interactive_exit
  • set_expr_context
  • NEW_TYPE_COMMENT
  • augoperator
  • map_names_to_ids
  • seq_count_dots
  • alias_for_star
  • join_names_with_dot
  • function_def_decorators
  • empty_arguments
  • make_arguments
  • slash_with_default
  • star_etc
  • add_type_comment_to_arg
  • name_default_pair
  • class_def_decorators
  • seq_insert_in_front
  • get_cmpops
  • get_exprs
  • cmpop_expr_pair
  • concatenate_strings
  • get_keys
  • get_values
  • key_value_pair
  • collect_call_seqs
  • dummy_name
  • seq_extract_starred_exprs
  • seq_delete_starred_exprs
  • join_sequences
  • keyword_or_starred
  • nonparen_genexp_in_call
  • arguments_parsing_error
  • get_expr_name

It looks a little less intimidating here then it does when looking at the C file!

@albertjan
Copy link
Member

  • get_cmpops
  • get_exprs
  • cmpop_expr_pair

implemented with #23

@albertjan
Copy link
Member

  • get_keys
  • get_values
  • key_value_pair

in #23 for test 16

@albertjan
Copy link
Member

  • seq_insert_in_front

in #23 for test 20

s-cork added a commit that referenced this issue Jun 24, 2021
… Union and Array types in the grammar patch
s-cork added a commit that referenced this issue Jun 24, 2021
s-cork added a commit that referenced this issue Jun 24, 2021
s-cork added a commit that referenced this issue Jun 24, 2021
s-cork added a commit that referenced this issue Jun 24, 2021
s-cork added a commit that referenced this issue Jun 24, 2021
s-cork added a commit that referenced this issue Jun 24, 2021
s-cork added a commit that referenced this issue Jun 24, 2021
s-cork added a commit that referenced this issue Jun 24, 2021
@albertjan
Copy link
Member

3 left! 😄 + fill_token 😬

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants