string_list_from_file   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/examples/contrib/word_count.xtm

Implementation

(bind-func string_list_from_file
  (lambda (filename)
    (letz
        ((buflen 10000000)
         (buf:i8* (halloc buflen))
         (strlist null))
      (if (> (fill_buffer_with_file buf filename buflen) 0)
          (begin (set! strlist (string_list_from_string (String buf) (String " ,.\t\n")))
                 void)
          (println "Problem."))
      (free buf)
      strlist)))


Back to Index

Similar Entries

  • -clock:metro-from-host-    scheme
  • -clock:metro-from-host-    scheme
  • AudioBuffer_cstring    xtlang
  • AudioBuffer_data_b64_cstring    xtlang
  • AudioBuffer_from_aiff    xtlang
  • AudioBuffer_from_wave    xtlang
  • PaDeviceInfo_toString    xtlang
  • PaHostApiInfo_toString    xtlang
  • PaHostErrorInfo_toString    xtlang
  • PaStreamCallbackTimeInfo_toString    xtlang
  • PaStreamInfo_toString    xtlang
  • PaStreamParameters_toString    xtlang
  • PreludeList    scheme
  • String    xtlang
  • String    xtlang
  • String_free    xtlang
  • String_h    xtlang
  • String_strlen    xtlang
  • ai_load_ogl_texture_from_buffer    xtlang
  • analogue_remove_file    xtlang
  • anyatom->string    scheme
  • audiofile_16bitPCM_to_sample_be    xtlang
  • audiofile_16bitPCM_to_sample_le    xtlang
  • audiofile_24bitPCM_to_sample_be    xtlang
  • audiofile_24bitPCM_to_sample_le    xtlang
  • audiofile_aiff_read_samples    xtlang
  • audiofile_copy_samples    xtlang
  • audiofile_float_to_sample_be    xtlang
  • audiofile_float_to_sample_le    xtlang
  • audiofile_read_samples    xtlang
  • audiofile_wave_read_samples    xtlang
  • bind-lib-xtm-get-string    macro
  • bindfunc_with_docstring    xtlang
  • bindfunc_with_zone_size_and_docstring    xtlang
  • bitmap_from_window    xtlang
  • call-with-input-file    scheme
  • call-with-output-file    scheme
  • cas-xtm-to-string    scheme
  • cef_string    xtlang
  • cef_string    xtlang
  • cef_string_clear    xtlang
  • cef_string_cmp    xtlang
  • cef_string_set    xtlang
  • cef_string_userfree_alloc    xtlang
  • cef_string_userfree_free    xtlang
  • cef_string_val    xtlang
  • cef_string_val    xtlang
  • cerberus_frq_from_val    xtlang
  • cerberus_octave_from_val    xtlang
  • cerberus_remove_file    xtlang
  • cl:copy-list    scheme
  • cl:list*    scheme
  • cl:list-of??    scheme
  • cl:make-list    scheme
  • clock:offset-from-server    scheme
  • comb_fb_from_rtsixty    xtlang
  • cstring    xtlang
  • cstring    xtlang
  • file->string    scheme
  • file-exists?    scheme
  • file_size    xtlang
  • file_word_count    xtlang
  • filename-from-path    scheme
  • filename-strip-extension    scheme
  • fill_buffer_with_file    xtlang
  • fits-file-print    xtlang
  • fits-file-print    xtlang
  • fits-open-file    xtlang
  • fits-open-file    xtlang
  • fleet_get_ip_list    xtlang
  • frq_from_val    xtlang
  • frq_from_val    xtlang
  • get-midi-device-names-alist    scheme
  • get-midi-input-device-names-alist    scheme
  • get-midi-output-device-names-alist    scheme
  • get_file_name    xtlang
  • ghttp_perform_POST_string    xtlang
  • ghttp_perform_PUT_string    xtlang
  • glew-name-from-gl-name    scheme
  • glfw_print_version_string    xtlang
  • glfw_set_compatibility_profile    xtlang
  • glfw_set_core_profile    xtlang
  • glwrapper-arg-list-symbols    scheme
  • glwrapper-arg-list-symbols    scheme
  • godot_string    xtlang
  • godot_string_ascii    xtlang
  • godot_string_destroy    xtlang
  • godot_string_new    xtlang
  • godot_string_parse_utf8    xtlang
  • godot_string_pvar    xtlang
  • godot_string_var    xtlang
  • godot_variant_as_string    xtlang
  • godot_variant_new_string    xtlang
  • gstring_alloc    xtlang
  • gstring_halloc    xtlang
  • gstring_zalloc    xtlang
  • impc:aot:compile-xtm-file    scheme
  • impc:ir:compiler:closure-from-getter    scheme
  • impc:ir:convert-from-pretty-types    scheme
  • impc:ir:genericfunc-stringify-generic-arg-strings    scheme
  • impc:ir:get-arity-from-pretty-closure    scheme
  • impc:ir:get-array-type-from-str    scheme
  • impc:ir:get-closure-type-from-str    scheme
  • impc:ir:get-function-type-from-str    scheme
  • impc:ir:get-pretty-closure-arg-strings    scheme
  • impc:ir:get-pretty-tuple-arg-strings    scheme
  • impc:ir:get-tuple-type-from-str    scheme
  • impc:ir:get-type-from-pretty-array    scheme
  • impc:ir:get-type-from-pretty-closure    scheme
  • impc:ir:get-type-from-pretty-str    scheme
  • impc:ir:get-type-from-pretty-str-rec    scheme
  • impc:ir:get-type-from-pretty-tuple    scheme
  • impc:ir:get-type-from-pretty-vector    scheme
  • impc:ir:get-type-from-str    scheme
  • impc:ir:get-vector-type-from-str    scheme
  • impc:ir:make-arglist-str    scheme
  • impc:ir:make-const-string    scheme
  • impc:ir:make-string    scheme
  • impc:ir:str-list-check    scheme
  • impc:ti:get-builtin-docstring    scheme
  • impc:ti:get-closure-docstring    scheme
  • impc:ti:get-closure-or-nativefunc-docstring    scheme
  • impc:ti:get-globalvar-docstring    scheme
  • impc:ti:get-namedtype-docstring    scheme
  • impc:ti:get-nativefunc-docstring    scheme
  • impc:ti:get-polyfunc-candidate-list    scheme
  • impc:ti:get-polyfunc-docstring    scheme
  • impc:ti:get-polytype-candidate-list    scheme
  • impc:ti:get-typealias-docstring    scheme
  • impc:ti:get-xtmacro-docstring    scheme
  • impc:ti:gl-proc-alist-index    scheme
  • impc:ti:list    scheme
  • impc:ti:remove-single-element-lists    scheme
  • impc:ti:reverse-set-bangs-from-reified    scheme
  • impc:ti:scm_rt_check_string    scheme
  • impc:ti:set-builtin-docstring    scheme
  • impc:ti:set-closure-docstring    scheme
  • impc:ti:set-globalvar-docstring    scheme
  • impc:ti:set-namedtype-docstring    scheme
  • impc:ti:set-nativefunc-docstring    scheme
  • impc:ti:set-typealias-docstring    scheme
  • impc:ti:set-xtmacro-docstring    scheme
  • impc:ti:string-check    scheme
  • impc:ti:tuple-list-from-pretty-tuple-str    scheme
  • impc:ti:unify-lists    scheme
  • json_string_p    xtlang
  • list    scheme
  • list->string    scheme
  • list->vector    scheme
  • list-head    scheme
  • list-position    scheme
  • list-ref    scheme
  • list-tail    scheme
  • listener    xtlang
  • listener-callback    scheme
  • load_blep_tables_from_blob    unknown
  • make-list    scheme
  • make-list-with-proc    scheme
  • match-list    scheme
  • match-string    scheme
  • match_aiString    xtlang
  • multi-list-combination    scheme
  • multi-list-combination-2    scheme
  • number->string    scheme
  • octave_from_val    xtlang
  • p:list    scheme
  • pc:from-intervals    scheme
  • pc:from-steps    scheme
  • pc:quantize-list    scheme
  • pc:scale-from-chord    scheme
  • pc:scale-from-pc    scheme
  • repeat_And_Wrap_String    xtlang
  • return_ptr_gv_first_with_docstring    xtlang
  • return_ptr_gv_second_with_docstring    xtlang
  • sampler-parse-filename    scheme
  • sampler-parse-midinote-filename    scheme
  • sampler-parse-spn-filename    scheme
  • scheme-midi-listener    scheme
  • sf_channels_from_file    xtlang
  • sf_frames_from_file    xtlang
  • sf_print_audio_file_info    xtlang
  • sf_read_file_into_buffer    xtlang
  • sf_samples_from_file    xtlang
  • string    scheme
  • string->anyatom    scheme
  • string->list    scheme
  • string->number    scheme
  • string->sexpr    scheme
  • string-ci<=?    scheme
  • string-ci<?    scheme
  • string-ci=?    scheme
  • string-ci>=?    scheme
  • string-ci>?    scheme
  • string-cmp?    scheme
  • string-copy    scheme
  • string-fill!    scheme
  • string<=?    scheme
  • string<?    scheme
  • string=?    scheme
  • string>=?    scheme
  • string>?    scheme
  • string_list_from_string    xtlang
  • stringify    xtlang
  • stringify    xtlang
  • stringify    xtlang
  • stringify    xtlang
  • stringify    xtlang
  • stringify    xtlang
  • substring    xtlang
  • sum_list    xtlang
  • sys:compile-init-ll-from-str    scheme
  • sys:compile-ll-from-str    scheme
  • sys:file-path-components    scheme
  • sys_file_append    xtlang
  • sys_file_close    xtlang
  • sys_file_copy    xtlang
  • sys_file_datasync    xtlang
  • sys_file_datasync    xtlang
  • sys_file_eof    xtlang
  • sys_file_flush    xtlang
  • sys_file_getc    xtlang
  • sys_file_gets    xtlang
  • sys_file_link    xtlang
  • sys_file_mktemp    xtlang
  • sys_file_open    xtlang
  • sys_file_open_stderr    xtlang
  • sys_file_open_stdin    xtlang
  • sys_file_open_stdout    xtlang
  • sys_file_putc    xtlang
  • sys_file_puts    xtlang
  • sys_file_read    xtlang
  • sys_file_remove    xtlang
  • sys_file_rename    xtlang
  • sys_file_seek    xtlang
  • sys_file_sync    xtlang
  • sys_file_ungetc    xtlang
  • sys_file_write    xtlang
  • sys_filepath_root    xtlang
  • sys_g_file_test    xtlang
  • t:cleanup-string-type    scheme
  • test_g_cstring    xtlang
  • test_g_cstring1    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString    xtlang
  • toString_help    xtlang
  • toString_help    xtlang
  • toString_help    xtlang
  • toString_return    xtlang
  • toString_space    xtlang
  • vector->list    scheme
  • win32_list_dir    xtlang
  • with-input-from-file    scheme
  • with-input-output-from-to-files    scheme
  • with-output-to-file    scheme
  • xhid_listener    scheme
  • xtmdoc-alist-lessthan    scheme
  • xtmdoc-all-doc-alists    scheme
  • xtmdoc-clean-nativefunc-alist    scheme
  • xtmdoc-get-args-from-form    scheme
  • xtmdoc-write-alist-args-as-json    scheme
  • xtmdoc-write-alist-as-json    scheme