Commit Graph

28 Commits

Author SHA1 Message Date
underscorediscovery
ad538742d8 feat: add ruby0x1 to AUTHORS and expand CHANGELOG with prebuilt binaries and CLI docs link 2020-06-05 21:39:21 +00:00
Bob Nystrom
f3a1c71c49 feat: add ctrl+w word-delete, delete key, home/end keys to repl input handling
Add Ctrl+w keybinding to delete the word left of cursor by removing trailing spaces then characters until next space. Implement EscapeBracket.delete handling to delete character right of cursor and consume the trailing 126 byte. Support EscapeBracket.end and EscapeBracket.home to jump cursor to end or start of line. Register new ctrlW constant (0x17) and EscapeBracket constants for delete (0x33), end (0x46), home (0x48). Add Taylor Hoff to AUTHORS.
2019-02-14 15:31:22 +00:00
Taylor Rose
4f20cf7040 docs: add Taylor Hoff to AUTHORS file with email contact 2018-11-07 01:01:05 +00:00
Michel Hermier
1a394212e2 docs: add Michel Hermier to AUTHORS file 2018-07-19 16:04:15 +00:00
Bob Nystrom
d1d676b6f5 chore: add Charlotte Koch to AUTHORS and undefine FINALIZER macro in modules.c
Resolve merge conflict in AUTHORS by adding missing contributor entry.
Prevent macro leak by adding #undef FINALIZER after the module registry
definition in src/cli/modules.c, consistent with other macro cleanup.
2018-07-13 14:01:57 +00:00
Michał Kozakiewicz
7012cdd2fb chore: add conditional guards for Windows permission macros and improve repl debug output
- Add #ifndef guards around S_IRUSR, S_IWUSR, S_ISREG, and S_ISDIR definitions in io.c to prevent redefinition errors on platforms that already define them
- Update debug message in repl.wren from "Unhandled byte" to "Unhandled key-code [dec]" for clearer diagnostic output
- Add Michal Kozakiewicz to AUTHORS file
2018-07-12 19:50:23 +00:00
Charlotte Koch
4e12abd228 docs: add Charlotte Koch to the AUTHORS file 2018-06-14 07:33:59 +00:00
Marshall Bowers
f974459f8e chore: add Marshall Bowers to AUTHORS file with email elliott.codes@gmail.com 2018-01-18 05:48:02 +00:00
Kyle Charters
884e6853d3 feat: add Num.round method for rounding numbers to nearest integer
Implement the `round` method on the Num class that rounds a number to the nearest integer using standard rounding rules (away from zero for .5). The implementation adds a new `num_round` primitive function in the VM core, registers it as a method on the Num class, includes documentation in the core module reference, and adds a comprehensive test file covering positive, negative, zero, and fractional cases.
2017-09-21 00:27:02 +00:00
underscorediscovery
84a14cde08 chore: add Sven Bergström to AUTHORS file for project contributions 2016-10-31 19:51:55 +00:00
Bob Nystrom
85ab5d2aec feat: add List.new(_) and List.filled(_,_) constructors with size and default value
Add two new list constructors to the Wren VM: `List.new(size)` creates a list of given size with null elements, and `List.filled(size, value)` creates a list with all elements initialized to a specified default value. Includes corresponding C primitives `list_newWithSize` and `list_newWithSizeDefault`, registration in `wrenInitializeCore`, and a test file verifying both constructors produce correct counts and element values. Also adds Max Ferguson to AUTHORS.
2016-08-04 05:34:08 +00:00
root
89037e397a feat: add list constructors with size and default value arguments
Implement two new List constructors: `List.new(size)` creates a list of given size initialized to null, and `List.new(size, default)` creates a list with all elements set to the provided default value. Add corresponding C primitives `list_newWithSize` and `list_newWithSizeDefault` in wren_core.c, register them in the core initialization, and include test coverage for both constructors. Also add Max Ferguson to AUTHORS.
2016-07-17 02:01:50 +00:00
Damien Radtke
44be247762 feat: add wrenGetSlotListSize and wrenGetSlotListValue API for list element access
Implement two new C API functions to retrieve list metadata and values from Wren slots: wrenGetSlotListSize returns the element count of a list in a slot, and wrenGetSlotListValue returns a captured WrenValue pointer for a specific index. Add corresponding foreign method bindings in test/api/slots.c and test cases in test/api/slots.wren that verify size retrieval and indexed value access on a three-element list. Also add Damien Radtke to AUTHORS.
2016-05-19 18:26:01 +00:00
Will Speak
55c21c397d docs: add Will Speak to AUTHORS file with email contact
Append a new contributor entry for Will Speak with their email address
to the project's AUTHORS file, following the existing formatting
convention used for other contributors.
2015-10-18 09:55:34 +00:00
minirop
dba104a696 feat: implement scientific notation parsing for number literals in wren compiler
Add support for parsing scientific notation (e.g., 2.55e2, -2.55e-2) in the
readNumber function of wren_compiler.c. The implementation handles optional
negative exponents, validates that exponent digits follow 'e'/'E', and emits
a lex error for unterminated scientific notation. Also adds comprehensive
test cases covering valid scientific literals, missing exponents, floating
exponents, missing fractional parts, and multiple exponents.
2015-07-10 16:07:48 +00:00
Starbeamrainbowlabs
64df01a383 fix: correct typo in AUTHORS file and add new contributor entry
Fix the misspelling of "incomplete" in the AUTHORS file header and append
Starbeamrainbowlabs with their email to the list of contributors.
2015-07-01 17:48:04 +00:00
Evan Hahn
4837a904ae feat: add Evan Hahn to AUTHORS file with email contact
Add Evan Hahn <me@evanhahn.com> as a new contributor entry in the AUTHORS file, appended after existing contributor Patricio Mac Adden.
2015-04-25 16:19:55 +00:00
Patricio Mac Adden
3798e4557a docs: add Patricio Mac Adden to AUTHORS file
Add Patricio Mac Adden <patriciomacadden@gmail.com> as a new contributor
to the project's AUTHORS file, acknowledging their contributions.
2015-04-05 22:52:12 +00:00
Thorbjørn Lindeijer
3e65af35c3 chore: add Thorbjørn Lindeijer to AUTHORS file with email address
Fix missing closing angle bracket on Raymond Sohn's email and append
new contributor entry for Thorbjørn Lindeijer <bjorn@lindeijer.nl>.
2015-03-25 23:01:34 +00:00
hachibu
2ce0502a5f feat: add Raymond Sohn to AUTHORS file with email contact
Append Raymond Sohn's name and email address to the list of project contributors in the AUTHORS file, following the existing format and fixing the missing newline at end of file for Marco Lizza's entry.
2015-03-01 12:50:30 +00:00
Marco Lizza
14a2c8b19c chore: add Marco Lizza to AUTHORS file for project contributions 2015-01-21 10:06:22 +00:00
Luchs
6530926aab docs: add Lukas Werling to AUTHORS file
Add Lukas Werling's name and email address to the project's AUTHORS file,
inserting the new entry after the existing contributor Gavin Schulz.
2015-01-16 08:53:14 +00:00
Gavin Schulz
1cb0e73bf0 docs: add Gavin Schulz to AUTHORS file with email contact 2015-01-16 03:06:24 +00:00
Evan Shaw
3e8d740c12 chore: add Evan Shaw to AUTHORS file with email address 2015-01-07 20:51:13 +00:00
Bob Nystrom
ba91af1f4d chore: add Paul Woolcock to AUTHORS file to resolve merge conflict 2015-01-06 05:58:23 +00:00
Kyle Marek-Spartz
864a70abdf feat: make Python scripts compatible with both Python 2 and 3
Update print statements to function syntax, add from __future__ import print_function in test.py, change shebangs to /usr/bin/env python, replace str.translate with re.sub for anchor sanitization in generate_docs.py, and decode subprocess output to utf-8 in test.py for cross-version string handling.
2015-01-06 02:09:23 +00:00
Paul Woolcock
be1ceaa6d0 chore: add Paul Woolcock to AUTHORS list with email address
Append Paul Woolcock's name and email (paul@woolcock.us) to the end of the AUTHORS file, following the existing entry for Robert Nystrom.
2015-01-05 16:02:52 +00:00
Bob Nystrom
e07fe5149b docs: add AUTHORS file and expand contributor guide with detailed workflow
- Create AUTHORS file listing Robert Nystrom as initial contributor
- Rewrite README to emphasize Wren as concurrent scripting language with fiber examples
- Expand contributing.markdown with structured sections for finding tasks and making changes
- Update index.markdown with call-to-action links for trying and contributing
2015-01-04 21:36:23 +00:00