bitflags - A macro to generate structures which behave like bitflags

  •        1

The minimum supported Rust version is 1.20 due to use of associated constants.

https://github.com/bitflags/bitflags

Tags
Implementation
License
Platform

   




Related Projects

ki - lisp + mori, sweet.js

  •    Javascript

See ki-lang.org for more information or try ki straight in your browser. ki is a lisp with Clojure data structures and semantics that can be intermixed with Javascript code at any level.

uthash

  •    C

This is a hash table, implemented in C, supporting constant-time add/find/remove of C structures. Any structure having a unique, arbitrarily-typed key member can be hashed by adding a UT_hash_handle member to the structure and calling these macros.

ember-cpm - ComputedProperty Macros for Ember

  •    Javascript

Version 2.0+ will only work with Ember 2.0+ Version 3.0+ is only tested in the last 2 LTS. Just import individual macros from ember-cpm/macros/* or all macros from ember-cpm.

laravel-collection-macros - A set of useful Laravel collection macros

  •    PHP

This repository contains some useful collection macros. Spatie is a webdesign agency based in Antwerp, Belgium. You'll find an overview of all our open source projects on our website.

SmartMacros

  •    

SmartMacros allows developers to define macros in C# and use them inside other source code. These macros are much stronger and safer than C/C++ macros, therefore they're called "Smart" :-)


SharePoint Wiki Macros

  •    JQuery

SharePoint Wiki Macros aims to fill some important feature gaps between popular wiki systems and SharePoint 2010 wikis (both Team Sites and Enterprise Wikis). "Macros" in a wiki are simple content tokens that are replaced with more complex code dynamically when a page is re...

babel-plugin-macros - 🎣 Enables zero-config, importable babel plugins

  •    Javascript

Check out this guest post on the Babel.js blog for a complete write up on the problem, motivation, and solution.Currently, each babel plugin in the babel ecosystem requires that you configure it individually. This is fine for things like language features, but can be frustrating overhead for libraries that allow for compile-time code transformation as an optimization.

TF Macros

  •    

tf-macros is a collection of macros for the popular mud client TF. One of the features is a complete routing system, which will be generalized for every possible language. Other features include advanced data types, database interaction and backend c/s co

OpenOffice.org Macros

  •    

OOoMacros is a repository for OpenOffice.org macros/add-ins, and documentation about writing macros and/or extending OpenOffice.org

sparkler - Native pattern matching for JavaScript

  •    Javascript

Sparkler is a pattern matching engine for JavaScript built using sweet.js macros, so it looks and feels like native syntax. It has no runtime dependencies and compiles down to simple ifs and fors. Sparkler overloads the function keyword as a macro (don't worry, all your old functions will still work) but implements a slightly different syntax. There's no argument list after the name or function keyword. Instead the function body is just a set of ES6 style arrow-lambdas separated by commas.

cmacro - Lisp macros for C

  •    Common

Macros are written directly in the source, and the cmc program is used to process a file with macros to a macroexpanded file. If you're running Arch or a similarly bleeding-edge distro, just install sbcl from Pacman and skip to step 5. Otherwise, you need to manually download the latest SBCL[1].

macropy - Macros in Python: quasiquotes, case classes, LINQ and more!

  •    Python

MacroPy is an implementation of Syntactic Macros in the Python Programming Language. MacroPy provides a mechanism for user-defined functions (macros) to perform transformations on the abstract syntax tree (AST) of a Python program at import time. This is an easy way to enhance the semantics of a Python program in ways which are otherwise impossible, for example providing an extremely concise way of declaring classes. and more! See the docs at http://macropy3.readthedocs.io/en/latest/.

C-Sharp-Algorithms - A C# plug-and-play class-library project of standard Data Structures and Algorithms

  •    CSharp

A C# plug-and-play class-library project of standard Data Structures and Algorithms. It contains 35+ Data Structures and 30+ Algorithms designed as Object-Oriented isolated components. Even though this project started for educational purposes, the implemented Data Structures and Algorithms are standard, efficient, stable and tested.This project originally started out as an interview preparation project. However, after receiving a great amount of positive responses on reddit, and noticing excitement from a few GitHubers to contribute furthermore to it, the project took on a different meaning. So, I decided to keep maintaining it as a reference for data structures and algorithm implementations in C# as well as my own research side-project under these topics.

scalacaster - Purely Functional Algorithms and Data Structures in Scala

  •    Scala

Since Fender Stratocaster is a classic guitar, Scalacaster is about classic algorithms and data structures in Scala. Scalacaster includes loads of widely used implementation techniques and approaches, which have been developed by best programmers and enthusiasts of functional programming. Studying purely functional data structures is always fun and challenge for researchers, since data structures in a functional setting are much elegant and smarter than in an imperative setting. Scalacaster is neither a library nor framework. Moreover, Scalacaster`s code is not supposed to be executed at all. Scalacaster's code is not for Scala compiler but for human beings, for enthusiasts and researchers of the Scala programming language and its application in the area of implementation of the purely functional data structures. So, the best way to use Scalacaster is to read through its source code and comments.

sirius - A distributed system library for managing application reference data

  •    Scala

Sirius is a library for distributing and coordinating data updates amongst a cluster of nodes. It handles building an absolute ordering for updates that arrive in the cluster, ensuring that cluster nodes eventually receive all updates, and persisting the updates on each node. These updates are generally used to build in-memory data structures on each node, allowing applications using Sirius to have direct access to native data structures representing up-to-date data. Sirius does not, however, build these data structures itself -- instead, the client application supplies a callback handler, which allows developers using Sirius to build whatever structures are most appropriate for their application. Said another way: Sirius enables a cluster of nodes to keep developer-controlled in-memory data structures eventually consistent, allowing I/O-free access to shared information.

sdsl-lite - Succinct Data Structure Library 2.0

  •    C++

The Succinct Data Structure Library (SDSL) is a powerful and flexible C++11 library implementing succinct data structures. In total, the library contains the highlights of 40 research publications. Succinct data structures can represent an object (such as a bitvector or a tree) in space close to the information-theoretic lower bound of the object while supporting operations of the original object efficiently. The theoretical time complexity of an operation performed on the classical data structure and the equivalent succinct data structure are (most of the time) identical. Succinct data structures have very attractive theoretical properties. However, in practice implementing succinct data structures is non-trivial as they are often composed of complex operations on bitvectors. The SDSL Library provides high quality, open source implementations of many succinct data structures proposed in literature.

rpds - Rust Persistent Data Structures

  •    Rust

Rust Persistent Data Structures provides fully persistent data structures with structural sharing. Your classic functional list.

Data-Structures-and-Algorithms - Data Structures and Algorithms implementation in Go

  •    Go

There are several data structures and algorithms implemented in this project. The list will be replenished with time. The library is not intended for direct use by importing. We strongly recommend copying the necessary implementations and adjusting to your case.

Data Structures and Algorithms (DSA)

  •    DotNet

Data Structures and Algorithms (DSA) features implementations of data structures and algorithms that are not implemented in any version of .NET.