oilshell.org

Side By Side Lines Parsed? Parse Process Time (secs) Translated? Filename
view 21 OK 0.09 OK balls.sh
view 5 OK 0.07 OK cgi.sh
view 74 OK 0.13 OK http.sh
view 106 FAIL 0.07 FAIL model.sh
view 71 OK 0.16 OK router.sh
view 28 OK 0.09 OK server.sh
view 129 OK 0.19 FAIL util.sh
view 20 OK 0.08 OK view.sh

stderr

Parsing model.sh
        Line 31 of '/home/andy/git/wild/esoteric/balls/lib/model.sh'
      local "$__field"="$(balls::model.field "$__field" <<<"$__data\n")"
             ^~~~~~~~
Variable names must be constant strings, got (CompoundWord
  parts: [
    (DoubleQuotedPart
      parts: [(SimpleVarSub token:(token id:VSub_Name val:'$__field' span_id:270))]
      spids: [269 271]
    )
    (LiteralPart token:(token id:Lit_Other val:'=' span_id:272))
    (DoubleQuotedPart
      parts: [
        (CommandSubPart
          command_list: 
            (CommandList
              children: [
                (SimpleCommand
                  words: [
                    (CompoundWord
                      parts: [
                        (LiteralPart
                          token: (token id:Lit_Chars val:balls span_id:275)
                        )
                        (LiteralPart
                          token: (token id:Lit_Other val:':' span_id:276)
                        )
                        (LiteralPart
                          token: (token id:Lit_Other val:':' span_id:277)
                        )
                        (LiteralPart
                          token: (token id:Lit_Chars val:model.field span_id:278)
                        )
                      ]
                    )
                    (CompoundWord
                      parts: [
                        (DoubleQuotedPart
                          parts: [(SimpleVarSub token:(token id:VSub_Name val:'$__field' span_id:281))]
                          spids: [280 282]
                        )
                      ]
                    )
                  ]
                  redirects: [
                    (Redir
                      op_id: Redir_TLess
                      fd: 16777215
                      arg_word: 
                        (CompoundWord
                          parts: [
                            (DoubleQuotedPart
                              parts: [
                                (SimpleVarSub
                                  token: (token id:VSub_Name val:'$__data' span_id:286)
                                )
                                (LiteralPart
                                  token: (token id:Lit_Other val:'\\' span_id:287)
                                )
                                (LiteralPart
                                  token: (token id:Lit_Chars val:n span_id:288)
                                )
                              ]
                              spids: [285 289]
                            )
                          ]
                        )
                      spids: [284]
                    )
                  ]
                )
              ]
            )
          left_token: (token id:Left_CommandSub val:'$(' span_id:274)
          spids: [274 290]
        )
      ]
      spids: [273 291]
    )
  ]
)
---
*** Error has no source location info ***
Error parsing AndOr in ParseCommandTerm
---
*** Error has no source location info ***
Error parsing AndOr in ParseCommandTerm
---
*** Error has no source location info ***
Error parsing AndOr in ParseCommandTerm
---