Click here to Skip to main content
15,884,425 members
Everything / Generator

Generator

generator

Great Reads

by Ben Hanson
IDispatch C++ Code Generation Done Right
by honey the codewitch
Using PCK to create grammars, parsers and tokenizers for C# and other .NET languages
by Ivan Tsurkan
Sudoku Generator
by Peter Belcak
Presenting the case for a generalized approach to parser construction from multiple parts

Latest Articles

by Dave Elliott
A series of 6 articles to provide you with a boilerplate guide to create Source Generators.
by Dave Elliott
A series of 6 articles to provide you with a boilerplate guide to create Source Generators.
by Dave Elliott
A series of 6 articles to provide you with a boilerplate guide to create Source Generators.
by Dave Elliott
A series of 6 articles to provide you with a boilerplate guide to create Source Generators.

All Articles

Sort by Score

Generator 

6 Jul 2014 by TheCannyCoder
Today we'll look at creating generators. In simple terms, a generator is a function which returns the next value in a sequence. Unlike an iterator, it generates the next value when needed, rather than returning the next item of a pre-generated collection. Some languages such as Python support