Commit Graph
1565 Commits
Author SHA1 Message Date
Sven Bergström 6514c592d3 Merge pull request #611 from iwillspeak/doc-fixup
Update Call to `WrenInterpret` in Docs
2019-02-11 23:32:40 -08:00
Sven Bergström 8a0d2297a1 Merge pull request #615 from iwillspeak/repl-escape-fix
Fixup Handling of `\` in REPL to Prevent Crash
2019-02-11 22:58:06 -08:00
Will Speak 9347c5c61a Update Call to WrenInterpret in Docs
Fixes #599 by updating the arguments to WrenInterpret to match the new
API.
2019-02-12 06:54:58 +00:00
Bob Nystrom 52c16b4f80 Merge branch 'wrenHasError' of https://github.com/mhermier/canary into mhermier-wrenHasError 2019-02-11 07:52:38 -08:00
Bob Nystrom a945bed812 Merge pull request #655 from wren-lang/limited-reentrancy
Add a limited form of re-entrant calls.
2019-02-11 07:38:09 -08:00
Bob Nystrom a5147aa2d9 Add a limited form of re-entrant calls.
This doesn't let you arbitrarily call back into the VM from within
foreign methods. I'm still not sure if that's even a good idea since
God knows what that would mean if you switch fibers while doing that.

But this does allow the very important use case of being able to call
a foreign method from within a call to wrenCall(). In other words,
foreign methods need to always be leaf calls on the call stack, but the
root of that stack can now come from runInterpreter() or wrenCall().

Fix #510.
2019-02-08 17:09:39 -08:00
underscorediscovery 6ac829947a blog; fix twitter link to munificentbob (thanks @noelfb) 2019-02-07 20:40:44 -08:00
underscorediscovery 25a1431fa7 docs; add some links to blog post 2019-02-07 13:07:21 -08:00
underscorediscovery 27a08151e7 blog; clarify weird grammar (sponge) 2019-02-05 19:39:38 -08:00
underscorediscovery 57a1d809d8 docs; replace wren repo URL to point to organization 2019-02-05 18:41:31 -08:00
underscorediscovery 7cc7c715c9 docs; list; add + operator documentation 2019-02-05 18:18:38 -08:00
underscorediscovery 21024bfa13 docs; formatting and tidying
- quick clean up pass on layout and colors for clarity/legibility
- added logo to the sidebar
- fix various css things like a full height page when content is shorter, so the footer doesn't creep away from the bottom
- start using em instead of px for consistency across devices
2019-02-05 18:18:24 -08:00
underscorediscovery 2d449cd4c9 docs; add blog section with simple rss
- rss is hand written right now
- see the hello wren blog post for reasoning
2019-02-05 18:15:29 -08:00
underscorediscovery 29cef0bd53 docs; update generator
- copies files in doc/site/static/ to output
- update output formatting to include potential differences in markdown generator (local generate had >, so cover both to remain consistent)
- copy rss xml (could be in static too, but for now...)
2019-02-05 18:14:34 -08:00
Sven Bergström 201ae2f38a Merge pull request #619 from PrimordialHelios/fix_doc_generation
Fix doc generation script
2019-02-04 17:57:52 -08:00
Sven Bergström cabab755f5 Merge pull request #646 from nenofite/patch-1
Fix broken link for error handling
2018-12-19 18:36:30 -03:30
Benjamin Tucker d01905ef80 Fix broken link for error handling 2018-12-19 12:39:52 -08:00
Sven Bergström 4ebb99d27f Merge pull request #636 from datatypevoid/readme-update
chore(README): point broken links to wren.io
2018-11-26 16:35:42 -03:30
datatypevoid afebb24e1b chore(README): point broken links to wren.io 2018-11-26 14:33:35 -05:00
Taylor Rose 091d2c4313 Fix call to markdown.markdown 2018-10-30 15:06:50 -04:00
Will Speak a4b034f30b Fixup Handling of \ in REPL to Prevent Crash
When parsing the string token if a `\` was used it would
unconditionally consume the next character. This would led to a token
with an invalid lenght causing a crash when it was printed. This fixes
that by only consuming the token after the `\` if there is one to
consume.

Fixes #603
2018-10-08 07:35:55 +01:00
Bob Nystrom 744147fd94 Flush prompt in animals example. 2018-08-01 07:28:48 -07:00
Michel Hermier fe57c1eea0 Trivial: wren_core.wren.inc needs to be regenerated. 2018-07-25 11:58:50 +02:00
Michel Hermier 051e224ce6 De-inline wrenHasError.
Move fiber error detection inside a function instead of using inlined
version everywhere.
2018-07-25 11:55:03 +02:00
Michel Hermier 0ebf4e1277 Add me to AUTHORS. 2018-07-25 11:55:03 +02:00
Bob Nystrom e47f17567e Fix a couple more casts needed in C++. 2018-07-24 07:27:18 -07:00
Bob Nystrom 03ec25720d Add cast to satisfy the C++ warning gods. 2018-07-24 07:21:41 -07:00
Bob Nystrom c237a44b88 Add file to test directory so Git creates directory. 2018-07-24 07:15:04 -07:00
Bob Nystrom f23c82071a Don't allow calling the root fiber.
The VM used to not detect this case. It meant you could get into a
situation where another fiber's caller had completed. Then, when it
tried to resume that fiber, the VM would crash because there was nothing
to resume to.

This is part of thinking through all the cases around re-entrancy. Added
some notes for that too.
2018-07-21 10:02:29 -07:00
Bob Nystrom 5f29a72d65 Remove the special method type for Fn.call(...).
Instead, using regular primitives for each of the call() methods.
Doesn't help performance (alas), but does seem cleaner to me.
2018-07-18 08:20:11 -07:00
Bob Nystrom ed64a13778 Add new files to api_test target in XCode project. 2018-07-18 07:30:18 -07:00
Bob Nystrom fe7e56d508 Merge branch 'rfc-0001-smarter-imports' 2018-07-16 07:03:00 -07:00
Bob Nystrom b2b2b8a4e7 Add note. 2018-07-16 07:02:53 -07:00
Bob Nystrom 1a37d2228d Merge branch 'smarter-imports' 2018-07-16 07:00:08 -07:00
Bob Nystrom 7a42a20b98 Merge branch 'master' into smarter-imports
# Conflicts:
#	src/module/io.c
#	src/vm/wren_vm.c
2018-07-15 21:01:14 -07:00
Bob Nystrom c367fc3bfc Get logical imports in "wren_modules" working.
There's a lot of changes here and surely some rough edges to iron out.
Also, I need to update the docs. But I want to get closer to landing
this so I can build on it.
2018-07-15 20:09:41 -07:00
Bob Nystrom e486c56ae9 Merge pull request #546 from mathewmariani/master
Fixed PreBuildEvents on vs2017
2018-07-15 11:08:21 -07:00
Bob Nystrom 09f4beff4a Add trim methods on String:
- trim()
- trim(chars)
- trimEnd()
- trimEnd(chars)
- trimStart()
- trimStart(chars)
2018-07-15 10:48:56 -07:00
Bob Nystrom ef5f38b48f Turn on auto-deploying docs.
Looks like it's working now. <crosses fingers>
2018-07-14 21:35:33 -07:00
Bob Nystrom 7b42a9d621 More guessing at package names. 2018-07-14 21:00:59 -07:00
Bob Nystrom 361b57fa8d Try to get right package name for smartypants. 2018-07-14 20:51:48 -07:00
Bob Nystrom 3920818b46 Install smartypants on Travis. 2018-07-14 20:44:22 -07:00
Bob Nystrom c7c69d1291 Check in shared Xcode file. 2018-07-14 12:12:37 -07:00
Bob Nystrom 09be27d3d5 Install pygments on Travis. 2018-07-14 12:12:07 -07:00
Bob Nystrom 7d8292fe90 Fix a Travis dependency. 2018-07-14 11:57:11 -07:00
Bob Nystrom 52f08aec05 Install the custom pygments lexer using python3. 2018-07-14 11:44:53 -07:00
Bob Nystrom d13cafed71 Fix command. I am an idiot. 2018-07-14 11:17:36 -07:00
Bob Nystrom db77a9dce4 Disable container-based build so we can use sudo. 2018-07-14 11:05:41 -07:00
Bob Nystrom 5fff693530 Testing fix to doc deploy script. 2018-07-14 10:35:45 -07:00
Bob Nystrom 08b5492362 Turn off doc deploying for now. 2018-07-13 09:15:26 -07:00