Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8828795
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T07:41:20+00:00 2026-06-14T07:41:20+00:00

The right-hand side of a rule (no matter if modify or replace) can contain

  • 0

The right-hand side of a rule (no matter if modify or replace) can contain all sorts of statements, e.g. eval, exec, emit, subpatterns, …

Is there a defined order in which these statements are executed or are they just executed in the order they appear in the right-hand side?

P.S.: GrGen.NET is a quite popular graph transformation library (check it out on http://grgen.net) based on the .NET-framework. It would be cool if someone could define a Tag for GrGen.NET, I don’t have enough reputation :-). Cheers!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T07:41:21+00:00Added an answer on June 14, 2026 at 7:41 am

    Yes, there is an order and it matters!

    For example, the exec-statement always applies at the end. Hence, no variable from exec can be passed to the rule (cf. to How can I execute a script in a rule and pass a value back to a rule in booggie 2?).

    The order of execution can be found in the manual of GrGen.NET and is as follows:

    1. Extract elements needed from match
    2. Create new nodes
    3. Call rewrite code of used subpatterns (and evalhere, emithere, alternative Name, iterated Name)
    4. Call rewrite code of nested iterateds
    5. Call rewrite code of nested alternatives
    6. Redirect edges
    7. Retype (and merge) nodes
    8. Create new edges
    9. Retype edges
    10. Create subpatterns
    11. Attribute reevaluation
    12. Remove edges
    13. Remove nodes
    14. Remove subpatterns
    15. Emit / Exec
    16. Return
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Loop vectorization is when all right-hand-side expressions are computed at the onset. I just
I have a control that can appear on the left- or right-hand side of
Can I put an object.property which hasn't been instantiated on the right hand side
How can we remove the panel that appears on right hand side of openERP's
How can I create a thick right-hand side border on the first <td> of
How can a TPopupMenu be aligned to the right hand side of a form?
In the site http://www.domestika.org/foros the right hand side borders of the table are shorter
I have 4 UIBarButtonItems inside a UISplitViewController's right hand side (the detail controller). I'm
I have a div on the left hand side, and text on the right
Check out the treatments menu on right hand side of this website. It has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.