Giter Site home page Giter Site logo

viys / melon Goto Github PK

View Code? Open in Web Editor NEW

This project forked from water-melon/melon

0.0 0.0 0.0 3.26 MB

A generic cross-platform C library that includes many commonly used components and frameworks, and a new scripting language interpreter. It currently supports C99 and Aspect-Oriented Programming (AOP).

Home Page: http://doc.melonc.io

License: BSD 3-Clause "New" or "Revised" License

C 99.94% Objective-C 0.02% Dockerfile 0.04%

melon's Introduction

Melon logo

Melon

中文说明

Melon is a generic cross-platform C library. It contains many algorithms, data structures, functional components, scripting languages and practical frameworks, which can facilitate developers to quickly develop applications and avoid the dilemma of repeated wheel building.

  • Components
    • Library Initialization
    • Configuration
    • Log
    • Error Code Management
    • Memory Pool
    • Thread Pool
    • I/O Thread
    • TCP Encapsulation
    • Event Mechanism
    • File Set
    • HTTP Handling
    • Scripting Language
    • Lexical Analyzer
    • Parser Generator
    • Websocket
    • String
    • Regular Expression
    • Big Number Calculation
    • FEC
    • JSON
    • Matrix Operations
    • Reed Solomon Coding
    • Cron Format Parser
    • Spin Lock
    • Prime Generator
    • Span
  • Data Structures
    • Doubly Linked List
    • Fibonacci Heap
    • Hash Table
    • Queue
    • Red-black Tree
    • Stack
    • Array
  • Algorithms
    • AES
    • DES/3DES
    • RC4
    • RSA
    • MD5
    • SHA
    • Base64
  • Templates
    • Function Template
    • Class Template
  • Scripting Language Development
  • Frameworks
    • Multi-Process Model
    • Multi-Thread Model
    • Trace Mode
    • IPC

Platform Support

Melon was originally written for UNIX systems, so it is suitable for UNIX-like systems such as Linux and MacOS. And there are a few optimizations for Intel CPUs.

At present, Melon has also completed the preliminary porting to Windows, so it can be used on Windows. However, because Windows differs greatly from the UNIX system in the creation process, some functions of the above framework are temporarily not supported in Windows.

Installation

On Windows, please install mingw or msys2.

If you install mingw, you may want to install git bash and make either. Install MingW-W64-builds with the installation settings:

  • Version: 8.1.0

  • Architecture: i686

  • Threads: posix

  • Exception: dwarf

  • Build revision: 0

If you install msys2, you can use pacman to install any tool softwares you may need.

Then execute these shell commands on git bash or terminal (on UNIX).

git clone https://github.com/Water-Melon/Melon.git
cd Melon
./configure [--prefix=LIB_INSTALL_PATH | ...]
make
make install

For more configure options, please refer to Official Document: Installation.

License

BSD-3-Clause License

Copyright (c) 2014-present, Niklaus F. Schen

Documentation

Please refer to Official Documentation Website for more details.

中文文档请参考:中文指南

Docker

You can pull the built container image to deploy the running environment.

docker pull melonc/melon

Webassembly

You should install emsdk at first, make sure emcc and emar have been installed. Then execute:

./configure --enable-wasm
make && make install

There is only one static library libmelon.a to be created.

Contributing

We ❤️ pull requests, and we’re continually working hard to make it as easy as possible for developers to contribute. Before beginning development with the Melon, please familiarize yourself with the following developer resources:

  • Contributor Guide (CONTRIBUTING.md) to learn about how to contribute to Melon.

Contact

Twitter: @MelonTechnology

QQ: 756582294

melon's People

Contributors

water-melon avatar jer6y avatar zengwei2000 avatar

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.