Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@lukaszcz
Copy link
Collaborator

@lukaszcz lukaszcz commented Aug 27, 2025

Introduces macros which allow to write Applib Programs in a convenient syntax with binders, e.g.,

⟪
  c1 := fetch self.c1
  c2 := fetch self.c2
  call Counter Counter.Methods.Incr self.c1 (c2.count * n + c1.count)
  call Counter Counter.Methods.Incr self.c2 (c1.count * n + c2.count)
  return self
⟫

@lukaszcz lukaszcz self-assigned this Aug 27, 2025
@lukaszcz lukaszcz marked this pull request as ready for review August 28, 2025 15:12
@lukaszcz lukaszcz requested a review from janmasrovira August 28, 2025 15:12
Copy link
Collaborator

@janmasrovira janmasrovira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great

@janmasrovira janmasrovira merged commit 0a66c52 into main Sep 2, 2025
2 checks passed
@janmasrovira janmasrovira deleted the program-syntax branch September 2, 2025 09:03
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.

3 participants