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

support return statement and closure #40

Merged
merged 5 commits into from
Dec 22, 2023
Merged

support return statement and closure #40

merged 5 commits into from
Dec 22, 2023

Conversation

wcho21
Copy link
Owner

@wcho21 wcho21 commented Dec 22, 2023

feat.

  • support return statement in function with 결과 keyword, e.g., 함수() { 결과 42 }
  • support closure, e.g., 함수() { 결과 함수() { 결과 42 } } (which naturally follows since the function is first-class value in the language)

@wcho21 wcho21 self-assigned this Dec 22, 2023
@wcho21 wcho21 merged commit 6f7fafa into dev Dec 22, 2023
1 check passed
@wcho21 wcho21 deleted the feat branch December 22, 2023 03:52
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

Successfully merging this pull request may close these issues.

1 participant