Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.8.0-beta #25

Merged
merged 23 commits into from
Sep 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
67f06c9
Moved some cova.ParseConfig options to more appropriate locations
00JCIV00 Jul 18, 2023
fd3083a
Implemented Mandatory Sub Commands Config option
00JCIV00 Jul 19, 2023
ee25dfc
Added Value.Config for more consistent Configuration
00JCIV00 Jul 19, 2023
a820232
Created Value.Custom for more flexible and consistent Configuration
00JCIV00 Jul 22, 2023
354f66c
Fixed minor bug in cova.zig for Mandatory Sub-Commands
00JCIV00 Jul 22, 2023
da28cd0
Updated Goals Section of README.md
00JCIV00 Jul 23, 2023
0ed9200
Updated to the new Doc Generation method
00JCIV00 Jul 30, 2023
6590b83
Fixed minor Parsing & Testing issues in cova.zig
00JCIV00 Jul 30, 2023
af04164
Implemented Functions Conversion Type for Commands.
00JCIV00 Aug 18, 2023
a4eb75b
Implemented Unions Conversion Type for Commands.
00JCIV00 Aug 19, 2023
63f46d9
Updated the README and Docs
00JCIV00 Aug 19, 2023
57f1b2e
Updated `build.zig` for v0.12 compatibility
00JCIV00 Aug 19, 2023
7b3da8b
Added better analysis methods to `cova.Command.Custom`
00JCIV00 Aug 19, 2023
d73e808
Updated and Fixed Argument Type Conversions
00JCIV00 Aug 22, 2023
110fc99
Added `examples/basic_app`
00JCIV00 Sep 4, 2023
6d7cf19
Added `fn_self` Parameter to `cova.Command.Custom.callAs()`
00JCIV00 Sep 4, 2023
44040e2
Improved `examples/basic-app` comments and examples.
00JCIV00 Sep 9, 2023
97db0a0
Implemented Configurable Parse Error Reactions
00JCIV00 Sep 17, 2023
243de80
Implemented Option Parsing Termination
00JCIV00 Sep 18, 2023
89a6971
Implemented Argument Tokenization
00JCIV00 Sep 19, 2023
4bdfd11
Updated README.md
00JCIV00 Sep 20, 2023
85a6297
Updated README, Docs, and Guides for v0.8.0
00JCIV00 Sep 20, 2023
16e1dbe
Updated the Analysis Guide
00JCIV00 Sep 20, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
309 changes: 80 additions & 229 deletions README.md

Large diffs are not rendered by default.

23 changes: 18 additions & 5 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ const std = @import("std");

pub fn build(b: *std.Build) void {
const target = b.standardTargetOptions(.{});
//const optimize = b.standardOptimizeOption(.{ .preferred_optimize_mode = .ReleaseSafe });
const optimize = b.standardOptimizeOption(.{});
b.exe_dir = "./bin";

Expand Down Expand Up @@ -32,9 +31,11 @@ pub fn build(b: *std.Build) void {

// Docs
const cova_docs = cova_tests;
cova_docs.emit_docs = .emit;
const build_docs = b.addRunArtifact(cova_docs);
build_docs.has_side_effects = true;
const build_docs = b.addInstallDirectory(.{
.source_dir = cova_docs.getEmittedDocs(),
.install_dir = .prefix,
.install_subdir = "../docs",
});
const build_docs_step = b.step("docs", "Build the cova library docs");
build_docs_step.dependOn(&build_docs.step);

Expand All @@ -46,7 +47,19 @@ pub fn build(b: *std.Build) void {
.optimize = optimize,
});
cova_demo.addModule("cova", cova_mod);
const build_cova_demo = b.addInstallArtifact(cova_demo);
const build_cova_demo = b.addInstallArtifact(cova_demo, .{});
const build_cova_demo_step = b.step("demo", "Build the 'covademo' example (default: Debug)");
build_cova_demo_step.dependOn(&build_cova_demo.step);

// Basic App Exe
const basic_app = b.addExecutable(.{
.name = "basic-app",
.root_source_file = .{ .path = "examples/basic_app.zig" },
.target = target,
.optimize = optimize,
});
basic_app.addModule("cova", cova_mod);
const build_basic_app = b.addInstallArtifact(basic_app, .{});
const build_basic_app_step = b.step("basic-app", "Build the 'basic-app' example (default: Debug)");
build_basic_app_step.dependOn(&build_basic_app.step);
}
15 changes: 15 additions & 0 deletions docs/commonmark.js
Original file line number Diff line number Diff line change
Expand Up @@ -7831,6 +7831,16 @@
} else {
node._literal = contents;
}
const doc = this.options.autoDoc;
if (doc) {
const decl_hash = doc.detectDeclPath(contents);
if (decl_hash) {
var l = new Node("link");
l.destination = decl_hash;
l.appendChild(node);
node = l;
}
}
block.appendChild(node);
return true;
}
Expand Down Expand Up @@ -9702,6 +9712,7 @@

this.buffer = "";
this.lastOut = "\n";
this.heading_count = 0;

while ((event = walker.next())) {
type = event.node.type;
Expand Down Expand Up @@ -9883,6 +9894,10 @@
var tagname = "h" + node.level,
attrs = this.attrs(node);
if (entering) {
if (node.level != 1) {
attrs.push(["id", ":" + this.heading_count]);
this.heading_count += 1;
}
this.cr();
this.tag(tagname, attrs);
} else {
Expand Down
1 change: 1 addition & 0 deletions docs/data-astNodes.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/data-calls.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/data-comptimeExprs.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/data-decls.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/data-exprs.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/data-files.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/data-guideSections.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/data-modules.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/data-rootMod.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
var rootMod =0;
1 change: 1 addition & 0 deletions docs/data-typeKinds.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/data-types.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/data.js

Large diffs are not rendered by default.

Loading