Initial commit: Klammertext source distribution
Curated source subset assembled by klammertext-dev's doc/make_dist.sh: the Klammermachine (mac), the Standard Klammer Set (sks), the commands (com), editor plugins and install guides (doc), a test subset (tst), and lib/bin placeholders. Builds with 'make -C com'. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
19
mac/klammer_set.h
Normal file
19
mac/klammer_set.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#pragma once
|
||||
|
||||
#include "klammer.h"
|
||||
#include "target_set.h"
|
||||
|
||||
class Klammer_set
|
||||
{
|
||||
public:
|
||||
Klammer_set() = default;
|
||||
void add(Argtype_set argtypes, Target_set& targets,
|
||||
std::vector<Katom>::iterator begin, std::vector<Katom>::iterator end, std::vector<Katom>& katoms);
|
||||
void rationalize(Target_set targets);
|
||||
void check_klammer(std::string name, std::string target, Locator loc);
|
||||
const std::vector<Katom>* constant_body(const std::string& name) const;
|
||||
std::string instance_list(int margin) const;
|
||||
std::string describe(int margin=0) const;
|
||||
|
||||
std::map<std::string, Klammer> m_klammers {};
|
||||
};
|
||||
Reference in New Issue
Block a user