]> rethought.computer Git - sorel-lang.git/commitdiff
clarity on externs main
authorBryan English <bryan@rethought.computer>
Sun, 12 Apr 2026 03:54:55 +0000 (23:54 -0400)
committerBryan English <bryan@rethought.computer>
Sun, 12 Apr 2026 03:55:07 +0000 (23:55 -0400)
docs/language_overview.md

index 0a993a6ff7b5c0fccfbd62585af70d438459e078..1e3475a166b5ccccf15d47860fbb06a0510edee5 100644 (file)
@@ -62,7 +62,7 @@ This is useful for writing tests.
 Sorel supports calling other native code when it's statically linked into the same binary.
 Declare an externally-linked function using `extern function_name`.
 Then, you can call it like any other Sorel word.
-To pass arguments, simply put them on the stack in the order that they appear in the function signature.
+Externally-linked functions cannot (currently) take arguments, but the data stack could be manipulated.
 Be careful with types.
 The return value is added to the stack once the function returns.