Skip to content
/ JLC Public

Java-Like C++ (JLC) is a light-weight header-only utility library providing easy-to-use types and functions for C++.

License

Notifications You must be signed in to change notification settings

Baptistou/JLC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

JLC 1.0 coming soon !

Java-Like C++ (JLC) is a light-weight header-only utility library providing easy-to-use types and functions for C++.

JLC was firstly designed to achieve C++ tasks that were very difficult to do with standard libraries as a first year engineer student. Some aspects of C++ that are particularly restrictive and difficult for a beginner are date/time, lists, pointers and strings.

In an effort to prevent developper's brain collapsing and nightmares, JLC provides a simple and complete set of classes and methods inspired from Java and JavaScript languages, such as for example the native JavaScript Date and String objects or the Java 8 Collection and Stream containers. Furthermore, every JLC classes are designed to use as less pointers as possible in production code, which greatly improves developper experience.

This is a small overview of features provided by JLC :

#include <JLC/JLC.h>
using namespace JLC;

int main(){
    String str = "hello dear github user !";
    std::cout << str
        .split(' ')
        .stream()
        .filter([](const String &val){ return (val.length()!=4); })
        .map<String>(&String::toucfirst)
        .collect<collectors::tolist>()
        .join(' ')
        << std::endl;
}
Hello Github !

In hope that you will love JLC, you will find more information and code examples in the wiki. Good reading !

JLC is still under construction ! Keep in touch !

  • array.h
  • calendar.h
  • collection.h
  • containers.h
  • debug.h
  • functions.h
  • JLC.h
  • list.h
  • map.h
  • queue.h
  • range.h
  • set.h
  • stack.h
  • stream.h
  • string.h

Language support : C++98, C++11, C++14, C++17, C++20.

Compiler support : Clang 1+, GCC 4+.

Designed by Baptiste Thémine

About

Java-Like C++ (JLC) is a light-weight header-only utility library providing easy-to-use types and functions for C++.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published