Git Product home page Git Product logo

ed_javacc's Introduction

Compile and Install of the JavaCC Tool

This repository contains a make file for easy compile and install of JavaCC.

The Java Compiler Compiler (JavaCC) is a lexer and parser generator for use with Java applications.

This make file can build the JavaCC tool on the following systems:

Prerequisites

Java JDK 11

Download from

https://adoptium.net/temurin/releases/?version=11

Install into your system

# Linux
/opt/java/openjdk/linux_x86_64/jdk-11.0.23+9

# Windows
c:\opt\java\openjdk\x86_64\jdk-11.0.23+9

Set JAVA_HOME environment variable

# Linux
export JAVA_HOME=/opt/java/openjdk/linux_x86_64/jdk-11.0.23+9

# MSYS2/mingw
export JAVA_HOME=/c/opt/java/openjdk/x86_64/jdk-11.0.23+9

Apache Ant 1.10.14

Download from

https://ant.apache.org/bindownload.cgi

Install into your system

# Linux
/opt/apache-ant/apache-ant-1.10.14

# Windows
c:\opt\apache-ant\apache-ant-1.10.14

Get Source Code

ed_javacc

git clone https://github.com/embed-dsp/ed_javacc.git
# Enter the ed_javacc directory.
cd ed_javacc

# Edit the Makefile for selecting the JavaCC source version.
vim Makefile
PACKAGE_VERSION = 7.0.13
# Download JavaCC source package into src/ directory.
make download

Build

# Unpack source code into build/ directory.
make prepare
# Compile source code.
make compile

Install

Linux

# Install build products.
sudo make install

Windows: MSYS2/mingw64 & MSYS2/mingw32

# Install build products.
make install

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.