1#!/usr/bin/python 2# Copyright 2019 The ANGLE Project Authors. All rights reserved. 3# Use of this source code is governed by a BSD-style license that can be 4# found in the LICENSE file. 5# 6# generate_parser.py: 7# Generate lexer and parser for ANGLE's translator. 8 9import sys 10 11sys.path.append('..') 12import generate_parser_tools 13 14basename = 'glslang' 15 16 17def main(): 18 return generate_parser_tools.generate_parser(basename, True) 19 20 21if __name__ == '__main__': 22 sys.exit(main()) 23