/rpython/__main__.py
Python | 16 lines | 6 code | 3 blank | 7 comment | 1 complexity | 30880607bd3c4cb4970ec64900a3400e MD5 | raw file
Possible License(s): AGPL-3.0, BSD-3-Clause, Apache-2.0
- """RPython translation usage:
- rpython <translation options> target <targetoptions>
- run with --help for more information
- """
- import sys
- # no implicit targets
- if len(sys.argv) == 1:
- print __doc__
- sys.exit(1)
- from rpython.translator.goal.translate import main
- main()