feat: add Alexander Roper to AUTHORS and expand embedding API documentation

- Add Alexander Roper to AUTHORS file with newline fix for Starbeamrainbowlabs entry
- Replace placeholder embedding API docs with full guide covering static/dynamic linking and source inclusion
- Update codebase line count from 5,000 to 7,000 lines in README and index
- Fix relative documentation links to absolute URLs in README
- Add CSS styling for preprocessor directive syntax highlighting
- Update Xcode project file references and CopyFiles build phase UUID
- Adjust delta_blue benchmark expected value from 7032700 to 14065400
- Improve markdown header detection regex in generate_docs.py to avoid matching #include
- Refactor metrics.py to exclude curly brace lines from code line counting
- Add TEST_HEADERS dependency to test object compilation in wren.mk
- Remove NULL parameter from runFile call in main.c
- Refactor vm.c to support WrenBindForeignClassFn callback and rename externalBindForeign to bindMethodFn
- Update vm.h to remove bindForeign parameter documentation and adjust runFile signature
This commit is contained in:
Bob Nystrom
2015-08-29 06:13:56 +00:00
66 changed files with 1042 additions and 487 deletions
+1 -1
View File
@@ -626,7 +626,7 @@ planner = None
def delta_blue():
global total
start = time.clock()
for i in range(20):
for i in range(40):
chain_test(100)
projection_test(100)
print(total)
+9 -20
View File
@@ -34,17 +34,6 @@
// I've kept it this way to avoid deviating too much from the original
// implementation.
// TODO: Support forward declarations of globals.
var REQUIRED = null
var STRONG_REFERRED = null
var PREFERRED = null
var STRONG_DEFAULT = null
var NORMAL = null
var WEAK_DEFAULT = null
var WEAKEST = null
var ORDERED = null
// Strengths are used to measure the relative importance of constraints.
// New strengths may be inserted in the strength hierarchy without
// disrupting current constraints. Strengths cannot be created outside
@@ -67,15 +56,15 @@ class Strength {
}
// Compile time computed constants.
REQUIRED = Strength.new(0, "required")
STRONG_REFERRED = Strength.new(1, "strongPreferred")
PREFERRED = Strength.new(2, "preferred")
STRONG_DEFAULT = Strength.new(3, "strongDefault")
NORMAL = Strength.new(4, "normal")
WEAK_DEFAULT = Strength.new(5, "weakDefault")
WEAKEST = Strength.new(6, "weakest")
var REQUIRED = Strength.new(0, "required")
var STRONG_REFERRED = Strength.new(1, "strongPreferred")
var PREFERRED = Strength.new(2, "preferred")
var STRONG_DEFAULT = Strength.new(3, "strongDefault")
var NORMAL = Strength.new(4, "normal")
var WEAK_DEFAULT = Strength.new(5, "weakDefault")
var WEAKEST = Strength.new(6, "weakest")
ORDERED = [
var ORDERED = [
WEAKEST, WEAK_DEFAULT, NORMAL, STRONG_DEFAULT, PREFERRED, STRONG_REFERRED
]
@@ -701,7 +690,7 @@ var projectionTest = Fn.new {|n|
}
var start = IO.clock
for (i in 0...20) {
for (i in 0...40) {
chainTest.call(100)
projectionTest.call(100)
}