Commit Graph

  • 641402a974 feat: prepend LICENSE text as commented header in amalgamation script output Luchs 2015-04-16 12:39:39 +00:00
  • 3f066d4e92 chore: add begin/end file comments to amalgamation generator output Luchs 2015-04-16 11:17:38 +00:00
  • f86239dac1 fix: update Sequence.list references to toList in documentation Thorbjørn Lindeijer 2015-04-06 15:21:32 +00:00
  • eec9632372 docs: add documentation and usage examples for fiber.call() and fiber.call(value) Gavin Schulz 2015-04-04 23:50:40 +00:00
  • 97ece178ec docs: add documentation for Fn.call method with example and arity error note Gavin Schulz 2015-04-04 22:29:10 +00:00
  • aadfa61923 docs: add documentation for list.insert method with examples and error notes Gavin Schulz 2015-04-04 22:23:16 +00:00
  • 628bf7ab1c feat: add amalgamation generation script and Makefile target for wren.c Luchs 2015-03-26 20:21:41 +00:00
  • 1cd91a52b4 fix: rename builtin static variables to avoid linker ambiguity across modules Luchs 2015-04-16 11:07:14 +00:00
  • 167ad288f0 fix: undefine READ_BYTE and READ_SHORT macros after use in wren_debug.c and wren_vm.c Luchs 2015-03-26 20:16:43 +00:00
  • 205bf6d596 refactor: rename static callFunction helper to callFn to avoid name collision with public API Luchs 2015-03-26 19:42:20 +00:00
  • 706fa35049 chore: add Patricio Mac Adden to AUTHORS file for project contributions Bob Nystrom 2015-04-06 13:53:59 +00:00
  • 4b3b967674 chore: remove double space in finishParameterList and rephrase static method comment Bob Nystrom 2015-04-06 13:53:53 +00:00
  • abc7a9f692 docs: add Patricio Mac Adden to AUTHORS file Bob Nystrom 2015-04-06 13:45:11 +00:00
  • 3798e4557a docs: add Patricio Mac Adden to AUTHORS file Patricio Mac Adden 2015-04-05 22:52:12 +00:00
  • 10a6a1d23f fix: restore parent compiler before freeing on compile error Bob Nystrom 2015-04-04 06:12:14 +00:00
  • d92a8f1c93 fix: replace foreign Meta.eval with primitive and suppress compile errors in wrenCompile Bob Nystrom 2015-04-04 04:22:58 +00:00
  • 103b9a133b fix: correct broken link to wren.h in embedding-api documentation Bob Nystrom 2015-04-04 01:51:21 +00:00
  • 734a415999 fix: cast subtraction result to int before abs to suppress clang -Wabsolute-value warning Bob Nystrom 2015-04-04 01:38:10 +00:00
  • a56c277473 fix: correct broken link to wren.h in embedding-api documentation Luchs 2015-04-03 22:51:42 +00:00
  • 446e8b2ca9 feat: rename Sequence.list method to toList and update all call sites Bob Nystrom 2015-04-03 18:22:34 +00:00
  • b6e2229b58 feat: move primitive class definitions from C into core.wren library source Bob Nystrom 2015-04-03 15:00:55 +00:00
  • 17c6f277b2 refactor: merge patriciomacadden's refactoring branch into mainline Bob Nystrom 2015-04-03 14:19:17 +00:00
  • 3373ae0296 fix: cast subtraction to int before abs to suppress clang 3.5 -Wabsolute-value warning Luchs 2015-04-01 15:42:20 +00:00
  • 7884d89165 docs: rename MapSequence and WhereSequence fields and parameters for clarity, expand map(_) and where(_) docs with lazy semantics and examples Bob Nystrom 2015-04-01 14:31:15 +00:00
  • 85a889e49f feat: replace eager map/where with lazy MapSequence and WhereSequence classes Bob Nystrom 2015-04-01 14:22:02 +00:00
  • 7d7be7361e feat: add Sequence.each method to iterate over elements with a function Bob Nystrom 2015-04-01 14:10:21 +00:00
  • 0cdbe8bc5a fix: prevent local variables from being in scope during their own initializer Bob Nystrom 2015-04-01 14:05:40 +00:00
  • 07de6fca9e fix: remove extraneous space inside isspace cast in num_fromString Bob Nystrom 2015-04-01 13:43:44 +00:00
  • 79db06c6a5 fix: cast char to unsigned char in isspace call to fix char-subscripts warning Bob Nystrom 2015-04-01 13:42:38 +00:00
  • 57919022b8 fix: cast char to unsigned char before isspace to fix char-subscripts warning ComFreek 2015-03-31 16:27:44 +00:00
  • a018470b47 fix: rename wrenDebugPrintCode to wrenDumpCode in endCompiler debug dump Bob Nystrom 2015-03-30 14:39:37 +00:00
  • 26a466b8a1 fix: flush stdout after each benchmark trial dot in run_benchmark_language Bob Nystrom 2015-03-30 14:39:21 +00:00
  • 8fdf76bb57 refactor: merge defineSingleClass into defineClass with conditional raw class creation Patricio Mac Adden 2015-03-29 23:18:36 +00:00
  • 133ed97dcf fix: correct debug function call from wrenDebugPrintCode to wrenDumpCode in endCompiler Bob Nystrom 2015-03-29 01:08:51 +00:00
  • 5b71ac0c56 feat: replace eager list-based map/where with deferred MapSequence and WhereSequence classes Thorbjørn Lindeijer 2015-03-28 21:51:50 +00:00
  • 1a3ef62f22 fix: replace incorrect wrenDebugPrintCode call with wrenDumpCode in endCompiler Patricio Mac Adden 2015-03-28 20:01:21 +00:00
  • 343bfa7a84 feat: add Sequence.each method for side-effect iteration without list creation Thorbjørn Lindeijer 2015-03-28 19:35:20 +00:00
  • abe7a8d4b6 chore: remove outdated comment about instruction order matching Code enum in wren_vm.h Bob Nystrom 2015-03-28 17:19:38 +00:00
  • 540a4a166a feat: make Sequence.all() and Sequence.any() return actual predicate values instead of booleans Bob Nystrom 2015-03-28 17:18:45 +00:00
  • adc64d65b9 refactor: extract opcode enum and dispatch table into shared X-macro header wren_opcodes.h Bob Nystrom 2015-03-28 16:56:07 +00:00
  • 84ad34b281 fix: invert boolean return semantics of finishBlock to match new doc comment Bob Nystrom 2015-03-28 16:15:19 +00:00
  • cc5bf9fcfe feat: add Sequence.list method to collect elements into a new List Bob Nystrom 2015-03-28 16:06:49 +00:00
  • c4a7ad9d02 docs: clarify UTF-8 indexing explanation and fix punctuation in string and values documentation Bob Nystrom 2015-03-28 03:59:15 +00:00
  • c3d0b66630 feat: add raw byte access methods and \x escape to String class Bob Nystrom 2015-03-28 03:44:07 +00:00
  • 33d1217d6a feat: add Sequence.list method to convert any sequence into a List Thorbjørn Lindeijer 2015-03-27 21:59:58 +00:00
  • b7904a89c9 feat: add String.fromCodePoint static method and refactor UTF-8 encoding into reusable utilities Bob Nystrom 2015-03-27 14:43:36 +00:00
  • 6ff60a8c4a docs: correct encapsulation docs to state fields are private not protected in Wren Bob Nystrom 2015-03-27 13:46:12 +00:00
  • 26ae448adf feat: generate runtime error when foreign method is not found Bob Nystrom 2015-03-26 14:17:09 +00:00
  • 83e062cc71 feat: add foreign method binding for Meta class and restrict foreign lookup to core module Bob Nystrom 2015-03-26 03:20:26 +00:00
  • 2b3381e0b2 feat: add Meta class with eval method and integrate into VM and build system Bob Nystrom 2015-03-26 03:06:55 +00:00
  • b1360adf54 chore: add Thorbjørn Lindeijer to AUTHORS and fix Raymond Sohn email Bob Nystrom 2015-03-26 02:25:37 +00:00
  • c52fc1844f feat: add wren_meta source and header files to Xcode project build Bob Nystrom 2015-03-26 02:25:18 +00:00
  • a737b542b9 feat: add Meta class with eval method and WREN_USE_LIB_META flag Bob Nystrom 2015-03-26 02:21:58 +00:00
  • e3e31f3d19 docs: add Thorbjørn Lindeijer to AUTHORS file with corrected email format Bob Nystrom 2015-03-26 02:15:58 +00:00
  • 3e65af35c3 chore: add Thorbjørn Lindeijer to AUTHORS file with email address Thorbjørn Lindeijer 2015-03-25 23:01:34 +00:00
  • 90de831bd7 refactor: remove oldSize parameter from WrenReallocateFn and all call sites Bob Nystrom 2015-03-25 14:45:29 +00:00
  • c32b586603 feat: add standard deviation calculation and color constant refactoring to benchmark script Bob Nystrom 2015-03-25 14:26:45 +00:00
  • ab52c46a28 chore: remove unused stdio, wren_value, and wren_vm includes from wren_meta.h Gavin Schulz 2015-03-25 06:30:53 +00:00
  • a350d7c26a feat: add foreign method binding infrastructure with IO library integration Bob Nystrom 2015-03-24 14:58:15 +00:00
  • 80b24b50e8 refactor: split CFLAGS into C_WARNINGS and C_OPTIONS with pretty-printed build output Bob Nystrom 2015-03-24 14:51:48 +00:00
  • e76e466d77 feat: add Sequence.count(predicate) method and update docs/tests Bob Nystrom 2015-03-23 14:35:17 +00:00
  • 7ed5603ffc refactor: rename package module loading to module directory loading in readModule Bob Nystrom 2015-03-23 13:48:08 +00:00
  • 1929f272fa refactor: extract wrenFilePath helper and add package module fallback in readModule Bob Nystrom 2015-03-23 13:42:03 +00:00
  • a6ad88c9cd chore: remove duplicate build result patterns and reorder Xcode entries in .gitignore Bob Nystrom 2015-03-23 13:33:29 +00:00
  • 0937a8d3f8 feat: restructure MSVC solution to separate wren_lib static library from wren CLI project Bob Nystrom 2015-03-23 13:32:29 +00:00
  • 46b6763877 refactor: rename Upvalue to ObjUpvalue for consistency with Obj naming convention Bob Nystrom 2015-03-23 05:31:03 +00:00
  • 15f9273aab refactor: remove unused WrenVM* parameter from buffer init, string find, and debug print functions Bob Nystrom 2015-03-23 05:17:40 +00:00
  • 580f04be1a chore: remove redundant -Wsign-compare -Wtype-limits -Wuninitialized from CFLAGS in wren.mk Bob Nystrom 2015-03-23 05:17:29 +00:00
  • 7385ab2430 chore: enable -Wextra warnings and fix loadIntoCore declaration order Bob Nystrom 2015-03-23 04:49:31 +00:00
  • c8fa7e619f feat: add Meta library with eval function for inline code interpretation Gavin Schulz 2015-03-22 21:16:53 +00:00
  • 96a829fc8f refactor: replace ObjList manual array management with ValueBuffer in Compiler and ObjList Bob Nystrom 2015-03-22 19:22:47 +00:00
  • 899a4ec76e chore: enable clang suspicious implicit conversion warning and fix related type narrowing issues Bob Nystrom 2015-03-22 17:36:08 +00:00
  • 4343b95c04 fix: restructure REPL loop to eliminate unreachable code after fgets failure Bob Nystrom 2015-03-22 17:26:54 +00:00
  • 295a408858 refactor: extract instance-of check into separate isInstanceOf helper function Bob Nystrom 2015-03-21 23:50:27 +00:00
  • 1374797192 feat: fall back to loading module package when module file not found Gavin Schulz 2015-03-21 23:05:02 +00:00
  • 65305fca09 refactor: remove inline local variable declarations in list primitives and delete redundant math primitives from wren_core.c Bob Nystrom 2015-03-21 21:57:43 +00:00
  • d04057bf75 feat: add trigonometric methods and Num.pi constant to core library Bob Nystrom 2015-03-21 19:54:08 +00:00
  • 52e0f4b1c0 fix: ensure step is always initialized before range validation in calculateRange Bob Nystrom 2015-03-21 19:32:31 +00:00
  • 07240ccb00 refactor: migrate list index and size types from int to uint32_t across core and value layers Bob Nystrom 2015-03-21 19:22:04 +00:00
  • 69f135cc43 fix: change list capacity and count fields from int to uint32_t for consistency Bob Nystrom 2015-03-21 15:46:01 +00:00
  • 28fdc8372f fix: replace silent early return with assertion in wrenFreeVM for freed VM detection Bob Nystrom 2015-03-20 15:00:52 +00:00
  • 15e965c5eb fix: add null and already-freed guard to wrenFreeVM to prevent double-free crash Bob Nystrom 2015-03-20 14:56:32 +00:00
  • ed559673ea feat: add Num.pi constant and trigonometric function tests for acos, asin, atan, cos, sin, tan Thorbjørn Lindeijer 2015-03-19 20:12:50 +00:00
  • cd167dae8a chore: redirect MSVC 2013 project output directories to build/vs subfolder Bryan C 2015-03-19 14:52:48 +00:00
  • 1c7dfe230d feat: add wren_lib static library project and refactor VS solution to separate CLI and VM sources Bryan C 2015-03-16 18:52:33 +00:00
  • c717b8d3fd feat: add Num.atan(x) method mapping to C atan2 for quadrant-aware arc tangent Thorbjørn Lindeijer 2015-03-15 15:43:02 +00:00
  • ac414a24fd feat: add acos, asin, atan trigonometric methods to Num class Thorbjørn Lindeijer 2015-03-14 13:52:16 +00:00
  • 2e6cb23b56 feat: add Num.tan method to core library and documentation Thorbjørn Lindeijer 2015-03-14 13:40:23 +00:00
  • 9dc939380c feat: add Sequence.count(predicate) method and update documentation Thorbjørn Lindeijer 2015-03-14 13:17:21 +00:00
  • 398a693d3c fix: replace constant-time string hash with full O(n) scan over all bytes Bob Nystrom 2015-03-19 14:38:05 +00:00
  • b33f16152a feat: move contains method from List to Sequence and add tests for list and range Bob Nystrom 2015-03-19 14:29:07 +00:00
  • 550fd13565 chore: relocate AS_* and IS_* macros to top of wren_value.h for better organization Bob Nystrom 2015-03-19 14:28:53 +00:00
  • a91361fa2f fix: update source file paths in generate_builtins.py to include vm subdirectory Bob Nystrom 2015-03-18 14:55:18 +00:00
  • a15bf3136e feat: move List.contains to Sequence.contains and add tests for List and Range Bob Nystrom 2015-03-18 14:54:55 +00:00
  • b7d0b4b73e fix: add float left to main element to fix unreachable links in IE11 edge mode Bob Nystrom 2015-03-18 14:52:31 +00:00
  • 1e842bbb2e feat: store precomputed hash in ObjString and use it for equality and hashing Bob Nystrom 2015-03-18 14:09:03 +00:00
  • a3418dc06a feat: swap list insert arguments to index-first order and update all call sites Bob Nystrom 2015-03-17 14:01:09 +00:00
  • f6da4700f4 fix: guard string hash loop against zero-length strings causing division by zero Bob Nystrom 2015-03-17 14:00:54 +00:00
  • cbe0676e79 fix: correct source file paths in generate_builtins.py from src/ to src/vm/ Thorbjørn Lindeijer 2015-03-15 14:55:51 +00:00
  • b22040577e feat: move contains method from List to Sequence and add tests for List and Range Thorbjørn Lindeijer 2015-03-15 14:43:10 +00:00