Loading ...
Sorry, an error occurred while loading the content.

Re: Patch for if_lua: include all Lua core libs

Expand Messages
  • Bram Moolenaar
    ... I like patches that make the code simpler :-). -- ARTHUR: Old woman! DENNIS: Man! ARTHUR: Man. I m sorry. Old man, What knight live in that castle over
    Message 1 of 2 , Jul 28, 2010
    • 0 Attachment
      Luis Carvalho wrote:

      > The Lua interface does not include all Lua core libs: it excludes the "io"
      > library and offers a restricted "os" library. However, since vim itself offers
      > system calls, this seems like an over-prudent constraint. In addition, there
      > has been recent interest in having all libs to the interface, especially "io".
      >
      > The attached simple patch loads all Lua core libs for the interface.

      I like patches that make the code simpler :-).

      --
      ARTHUR: Old woman!
      DENNIS: Man!
      ARTHUR: Man. I'm sorry. Old man, What knight live in that castle over there?
      DENNIS: I'm thirty-seven.
      "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

      /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
      /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
      \\\ download, build and distribute -- http://www.A-A-P.org ///
      \\\ help me help AIDS victims -- http://ICCF-Holland.org ///

      --
      You received this message from the "vim_dev" maillist.
      Do not top-post! Type your reply below the text you are replying to.
      For more information, visit http://www.vim.org/maillist.php
    Your message has been successfully submitted and would be delivered to recipients shortly.