code: def create_parsers():
      # Create a parser for gl2 and es2
      parser1 = headerparser.Parser(
          os.path.join(THISDIR, "headers", "gl2.h")
      )
      parser2 = headerparser.Parser(
          os.path.join(THISDIR, "headers", "webgl.idl")
      )
  
      ## Check constants and generate API module
  
      # Get names
      names1 = set(parser1.constant_names)
      names2 = set(parser2.constant_names)
  
      # Check names correspondence
      if names1 == names2:
          print("Constants in gl2 and webgl are equal")
      else:
          print("===== Extra names in gl2 =====")
          print(", ".join(names1.difference(names2)))
          print("===== Extra names in webgl =====")
          print(", ".join(names2.difference(names1)))
          print("===========")
  
      # Test value correspondence
      superset = names1.intersection(names2)
      #
      constants = {}
      for c1 in parser1.constants.values():
          if c1.shortname in superset:
              constants[c1.shortname] = c1.value
      #
      assert len(constants) == len(superset)
      #
      for c2 in parser2.constants.values():
          if c2.shortname in constants:
              assert c2.value == constants[c2.shortname]
      print(
          "Hooray! All constants that occur in both namespaces have equal values."
      )
  
      return parser1, parser2
  
imports: from __future__ import annotations
  import os
  import sys
  import headerparser
  from annotations import parse_anotations
  from OpenGL import GL
label_desc: Use image node_id 1 for calling a global function with example usage: create_parsers() and returns: parser1,  parser2