# Homemade_Programming_Language **Repository Path**: sunowsir/Homemade_Programming_Language ## Basic Information - **Project Name**: Homemade_Programming_Language - **Description**: Use 'antlr' to generate a syntax tree, a self-made programming language - **Primary Language**: C - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-08-23 - **Last Updated**: 2021-08-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Homemade_Programming_Language > Use 'antlr' to generate a syntax tree, a self-made programming language ## Environmental configuration 1. Please configure the java environment yourself. 2. install antlr C library ```bash wget http://www.antlr3.org/download/C/libantlr3c-3.4.tar.gz tar -xzvf ./libantlr3c-3.4.tar.gz ./configure --enable-64bit make sudo make install ``` ## Generation interpreter ``` bash # Go to the 'build' directory cd build # Empty the old compilation file make clean # Run 'antlr' to generate the syntax tree code via the grammar file ('ExprCppTree.g') make genTree # Generate an interpreter by compiling make # Install program to system '/usr/bin/' make install # Uninstall program from system '/usr/bin' make remove ```