Server IP : 149.255.58.128 / Your IP : 216.73.216.15
System : Linux cloud516.thundercloud.uk 5.14.0-427.26.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 17 15:51:13 EDT 2024 x86_64
PHP Version : 8.2.28
Disable Function : allow_url_include, apache_child_terminate, apache_setenv, exec, passthru, pcntl_exec, posix_kill, posix_mkfifo, posix_getpwuid, posix_setpgid, posix_setsid, posix_setuid, posix_setgid, posix_seteuid, posix_setegid, posix_uname, proc_close, proc_get_status, proc_open, proc_terminate, shell_exec, show_source, system
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Upload Files :
Command :
Current File : /usr/lib/python3.9/site-packages/pycparser//_build_tables.py
#-----------------------------------------------------------------
# pycparser: _build_tables.py
#
# A dummy for generating the lexing/parsing tables and and
# compiling them into .pyc for faster execution in optimized mode.
# Also generates AST code from the configuration file.
# Should be called from the pycparser directory.
#
# Eli Bendersky [https://eli.thegreenplace.net/]
# License: BSD
#-----------------------------------------------------------------
# Insert '.' and '..' as first entries to the search path for modules.
# Restricted environments like embeddable python do not include the
# current working directory on startup.
import sys
sys.path[0:0] = ['.', '..']
# Generate c_ast.py
from _ast_gen import ASTCodeGenerator
ast_gen = ASTCodeGenerator('_c_ast.cfg')
ast_gen.generate(open('c_ast.py', 'w'))
from pycparser import c_parser
# Generates the tables
#
c_parser.CParser(
lex_optimize=True,
yacc_debug=False,
yacc_optimize=True)
# Load to compile into .pyc
#
import lextab
import yacctab
import c_ast
Name |
Size |
Last Modified |
Owner / Group |
Permissions |
Options |
.. | -- | March 19 2025 22:42:16 | 0 / root | 0755 | |
__pycache__ | -- | October 13 2023 17:01:35 | 0 / root | 0755 | |
| | | | | |
__init__.py | 2.749 KB | March 04 2020 14:19:43 | 0 / root | 0644 | |
_ast_gen.py | 10.358 KB | March 04 2020 14:19:43 | 0 / root | 0644 | |
_build_tables.py | 1.015 KB | March 04 2020 14:19:43 | 0 / root | 0644 | |
_c_ast.cfg | 4.107 KB | March 04 2020 14:19:43 | 0 / root | 0644 | |
ast_transforms.py | 3.563 KB | March 04 2020 14:19:43 | 0 / root | 0644 | |
c_ast.py | 29.524 KB | April 07 2022 00:13:57 | 0 / root | 0644 | |
c_generator.py | 15.005 KB | March 04 2020 14:19:43 | 0 / root | 0644 | |
c_lexer.py | 15.826 KB | April 07 2022 00:13:56 | 0 / root | 0644 | |
c_parser.py | 68.11 KB | April 07 2022 00:13:56 | 0 / root | 0644 | |
lextab.py | 7.11 KB | April 07 2022 00:13:56 | 0 / root | 0644 | |
plyparser.py | 4.759 KB | March 04 2020 14:19:43 | 0 / root | 0644 | |
yacctab.py | 167.971 KB | April 07 2022 00:13:56 | 0 / root | 0644 | |