Position Independent Source Code

Artifact Content
Login
Wiki page [todo] by yumaikas 2017-07-05 15:30:49.

Artifact 414733bc66a18818399080aeb9ebb346a89e065b:


     1  D 2017-07-05T15:30:49.902
     2  L todo
     3  N text/x-markdown
     4  P 128736d256efea645be495b8a6af37e1ab941395
     5  U yumaikas
     6  W 1919
     7  ## TODO
     8  
     9  ### Math
    10  
    11  - Add trig math words like `sin` and `cos`. [Remaining functions](https://pisc.junglecoder.com/home/apps/fossil/PISC.fossil/wiki?name=List+of+Math+Functions)
    12  - Add exp math function
    13  - (TODO) Add support for bignums
    14  
    15  ### Vector utilites
    16  
    17   Look into adding vector shuffling words like the ones used in Jelly.
    18  
    19  ### Error handling
    20  
    21   - Make sure that all "panic" type errors exit the script as they should.
    22  
    23  ### Testing
    24  
    25  - Build a test runner (done)
    26  - Write tests for words (WIP)
    27  
    28  ### Borrow Lua's pattern matching syntax
    29    This will be simpler to implement, and will be easier to fit into the eventual opcode budgeting that I'd like to do in the future.
    30  
    31  
    32  ### On Hold: Regex handlings
    33  
    34  - Add regex words
    35  - Possibly add a regex ~ :PRE word
    36  
    37  ### IO
    38  
    39  - More IO words. The bare basics have now been covered
    40  
    41  ### Strings and Parsing
    42  
    43  - `>upper`
    44  - `>lower`
    45  - `int>string`
    46  - `double>string`
    47  
    48  ### Collections
    49  
    50  - A generic way to work with collections for things like `each` and so on that can replace the likes of `each-vec` and so on.
    51  
    52  ### IRC framework integration
    53  
    54  Figure out a way to tie PISC into an IRC framework to make it easier to build a chat-bot server that can be scripted by PISC down the line.
    55  
    56  (Note: IRCKit is a start here)
    57  
    58  ### Some kind of lite IDE in the browser
    59  
    60  > I have some ideas around creating a IDE-lite dev enviroment for PISC that can be sandboxed and exposed to the internet for use in developing IRC bots
    61  
    62  While it's not for IRC bots, the [playground](https://pisc.junglecoder.com/playground/) is a start on a PISC IDE-lite. 
    63  
    64  - Save/edit files local to browser (via localstorage)
    65  - Expose XHR to PISC for scripty purposes
    66  
    67  ### Termbox bindings
    68  
    69  If PISC is going to be used for console applications, binding to something like
    70  [https://github.com/nsf/termbox-go](https://github.com/nsf/termbox-go) could be very useful. 
    71  Z 573c372862d3864d29dd573f0c5de697