AltME groups: search
Help · search scripts · search articles · search mailing listresults summary
world | hits |
r4wp | 54 |
r3wp | 506 |
total: | 560 |
results window for this page: [start: 1 end: 100]
world-name: r4wp
Group: #Red ... Red language group [web-public] | ||
DocKimbel: 6-Jun-2012 | @Graham and others: I should have wrote you earlier about what I am currently doing instead of leaving you with no info, sorry for that, I was very busy these last weeks, with both real life events (good ones ;-)) and a new customer from which I accepted a short-term job to help pay the bills. The contributions I've received so far *are* helpful and I can't thank enough all the people that made donations! But their are not enough to cover all my expenses here, if I could get 3-4 times more from donations, that would be perfect, but as long as the userbase won't be larger I think that it won't be possible. So I've accepted a short contract (til end of june) to build a trading bot generator with a visual editor (GUI in View) that emits MQ4 language source code for feeding the Metatrader4 application. Of course, I'm building it in REBOL (Red not ready yet for that). The plan was to work part-time on it and part-time on Red, but these last two weeks I had to work almost only on that project. I still have a few days of intensive work on it, then I'll switch to part-time. I have quite a lot of code to commit (the Red compiler), but I'll wait to finish first the internal modifications in Red/System (to ease the integration with Red) before publishing it. | |
DocKimbel: 24-Jul-2012 | For people wondering what I was working on these last couple of month, here's a screenshot of the customer app I'm finishing now: http://sidl.fr/tmp/generator01.png It's a visual editor for trading strategies that emits MQL4 code for Metatrader-based solutions (FOREX trading). The tree is editable and redraws itself automatically (no need to drag all the nodes around manually). This app also relies on an intermediary DSL for serializing the strategy on disk or before compiling it to MQL4. Here's an extract from the corresponding dialect representation of the tree from screenshot: start on 1 if 1 buy 5 take 10 stop 10 on-profit [ buy 6 take 10 stop 10 on-profit [ buy 10 take 10 stop 10 loop ] ] on-loss [ sell 7 take 10 stop 10 on-profit [ buy 4 take 10 stop 10 loop ] ] All is done in REBOL/View 2.7.6 (to avoid CALL bug in 2.7.8) and all the source code is 47KB (25KB for the custom styles and VID events callbacks). I'm at 99% completion of that app, so I've resume the work on Red since a couple of days. | |
MagnussonC: 27-Aug-2012 | Is Rebols GUI code (view etc) going to be usable in Red? Or is it going to something completely different? A while back I think there was talk of an dedicated Red editor (Reditor?). Is this still included in the roadmap? | |
DocKimbel: 26-Sep-2012 | You can still download Notepad++ (or any other text editor with decent Unicode support). I have to drop my good old TextPad as it doesn't have good Unicode support. | |
DocKimbel: 26-Sep-2012 | Pekr: I'm giving you the codes because it seems something is going wrong with your editor. In my Notepad or any other decent text editor here, I can type (or copy/paste them from the web) without any issue. | |
Kaj: 7-Oct-2012 | Doc, on BodhiLinux I had full fonts when opening hello.red in an editor, including Chinese | |
DocKimbel: 6-Nov-2012 | AdrianS: the output of the lexer is nested blocks of Red values, same as REBOL with its own lexer (LOAD). The AST is not stored anywhere, AST nodes are created and consumed on the fly during the compilation. So the closest thing to an AST you can get currently is the output of the lexer. For the needs of a code editor, maybe you could just invoke it on the currently edited line (though you would need to deal with unmatched opening/closing delimiters). I haven't yet though how I will achieve it in Red IDE. | |
Steeve: 22-Nov-2012 | (Kaj, I'm trying to port a text editor to R3 currently, gobs are terrible and some times horrific) | |
Marco: 25-Nov-2012 | I am trying to write a test red-system program but it is a pain: I write it in my editor, then open a Rebol console and do change-dir... do/args ... then: If I open a window console and run the program I can not compile it anymore (it is locked by the console?), and if I try to run it in Rebol with call/console ... it hangs. Which is the right method? | |
AdrianS: 6-Mar-2013 | Doc, the Brackets editor is using Trello for the online task tracking/collaboration. Looks pretty cool and doesn't cost. https://trello.com/board/brackets/4f90a6d98f77505d7940ce88 | |
Marco: 28-Apr-2013 | I'd like to know what your development environment for Red/System is especially that used by Doc. In the meantime... My development environment: OS: Windows 7 Editor: Notepad++ v5.0.3 not the latest version but I prefer this one, using "Python" as the language for syntax highlithing and coloring (there is not a "REBOL" language) and used mainly for the folding on indentation (I can not live without folding, and folding on indentation makes life even easier) I have added a menu item with a keybord shortcut to run REBOL with the currently shown file as argument. I have added also a menu item with a keybord shortcut to run my modified version of REBOL-Word-Browser At the end of the r/s file I add these lines (mostly taken from Bruno Anselme): #if OS = '???? [{ REBOL [] appname: "myprog" rs-dir: %../Red-master-0.3.2_Bruno/red-system ; locate here your red-system directory dest: rejoin [what-dir appname ] print [ "------ Compiling" appname "------" ] do/args rs-dir/rsc.r rejoin ["-o " dest " " dest %.reds ] print [ "Destination file:" dest ] call/wait/show/console dest halt ;}] This way pressing the shortcut I can run REBOL that compiles the program I am writing and than starts the program. Any suggestion is welcomed! | |
Kaj: 8-May-2013 | GTK-text-editor has reading and writing to files and URLs | |
DocKimbel: 14-May-2013 | I never use the association, I always start Rebol scripts from my code editor or from the console (I just have a couple of Rebol shortcuts to start them in console mode). | |
DocKimbel: 14-May-2013 | The only time when the switching fails is when a versioned file is locked by an app (like a code editor sometimes). | |
Kaj: 2-Jul-2013 | It's best to standardise on LF format, even on Windows, with a capable editor | |
Group: Announce ... Announcements only - use Ann-reply to chat [web-public] | ||
Robert: 10-Mar-2012 | We just released our first R3 based tool. See: http://www.saphirion.com/development/heat-map/ The tool gives you an editor to build hierarchical structures / layouts where you than can map given information criterias (Skills, Performance, ...) into visual recognizable values (color, line width, ...). We use this tool to visualize complex situations on one page. The values could be feed from a database or other source in real-time and the visualization will update immediatly. | |
Geomol: 29-Jul-2012 | I released my first game for the Android platform. Stunt Ace is a retro type game. REBOL was used in the development process to make a prototype and for the level editor. Stunt Ace can be found on Google play. Full version: https://play.google.com/store/apps/details?id=com.nicom.stuntace Free trial: https://play.google.com/store/apps/details?id=com.nicom.stuntacefree Stunt Ace was made using: - Deluxe Paint on an Amiga - GIMP - Waldorf Pulse analogue synthesizer - TimewARP 2600 analogue soft synth - Roland A-90 keyboard - A Mac - A PC - REBOL - In-house software Have fun! | |
Robert: 7-Oct-2012 | We just finished to setup a public Cofluence wiki test server, where TreeMapper models are rendered in HTML-5. Take a look here: http://s1.saphirion.com:8001/display/TREEM/Treemapper+Demonstration+on+Conluence That's a model that's done with the R3 based editor and published out of the editor directly into a wiki page. The next demo version will include the server information so you can test it on your own. | |
MaxV: 25-Oct-2012 | Rebol [Purpose: {make wikibook entry} Author: "Max Vessi" version: 1.0.0 ] my?: func [ "Prints information about words and values." 'word [any-type!] /local value args item type-name refmode types attrs rtype temp ][ temp: copy "" if all [word? :word not value? :word] [word: mold :word] if any [string? :word all [word? :word datatype? get :word]] [ types: dump-obj/match system/words :word sort types if not empty? types [ print ["Found these words:" newline types] exit ] print ["No information on" word "(word has no value)"] exit ] type-name: func [value] [ value: mold type? :value clear back tail value join either find "aeiou" first value ["an "] ["a "] value ] if not any [word? :word path? :word] [ append temp reduce [mold :word "is" type-name :word] exit ] value: either path? :word [first reduce reduce [word]] [get :word] if not any-function? :value [ append temp reduce [uppercase mold word "is" type-name :value "of value: "] append temp either object? value [ reduce ["^/" dump-obj value] ] [mold :value] exit ] args: third :value append temp "= USAGE: = ^/ " if not op? :value [append temp reduce [ uppercase mold word " "] ] while [not tail? args] [ item: first args if :item = /local [break] if any [all [any-word? :item not set-word? :item] refinement? :item] [ append temp reduce [append mold :item " "] if op? :value [append temp reduce [append uppercase mold word " "] value: none] ] args: next args ] append temp "^/" args: head args value: get word append temp "^/= DESCRIPTION: = ^/" either string? pick args 1 [ append temp reduce [first args] args: next args ] [ append temp "^/''(undocumented)''^/" ] append temp reduce [ "^/^/"uppercase mold word " is " type-name :value " value."] if block? pick args 1 [ attrs: first args args: next args ] if tail? args [exit] while [not tail? args] [ item: first args args: next args if :item = /local [break] either not refinement? :item [ all [set-word? :item :item = to-set-word 'return block? first args rtype: first args] if none? refmode [ append temp "^/= ARGUMENTS: =^/" refmode: 'args ] ] [ if refmode <> 'refs [ append temp "^/= REFINEMENTS: =^/" refmode: 'refs ] ] either refinement? :item [ append temp reduce ["*'''" mold item "'''"] if string? pick args 1 [append temp reduce [" -- " first args] args: next args] append temp "^/" ] [ if all [any-word? :item not set-word? :item] [ if refmode = 'refs [append temp "*"] append temp reduce ["*'''" :item "''' -- "] types: if block? pick args 1 [args: next args first back args] if string? pick args 1 [append temp reduce [first args ""] args: next args] if not types [types: 'any] append temp rejoin [" (Type: " types ")"] append temp "^/" ] ] ] if rtype [append temp reduce ["^/RETURNS:^/^-" rtype]] if attrs [ append temp "^/= (SPECIAL ATTRIBUTES) =^/" while [not tail? attrs] [ value: first attrs attrs: next attrs if any-word? value [ append temp reduce ["*'''" value "'''"] if string? pick attrs 1 [ append temp reduce [" -- " first attrs] attrs: next attrs ] append temp "^/" ] ] ] editor temp exit ] | |
Geomol: 14-Nov-2012 | My game, Stunt Ace, has been released to iOS (iPhone, which also works on iPad). Stunt Ace is a retro type game. REBOL was used in the development process to make a prototype and for the level editor. I also used the REBOL DRAW dialect to create the logo, icon and presentation graphics. Stunt Ace can be found on Apple's App Store. The Android version can be found on Google Play. Homepage: http://niclasen.name/stuntace.html Stunt Ace was made using: - Deluxe Paint on an Amiga - GIMP - Waldorf Pulse analogue synthesizer - TimewARP 2600 analogue soft synth - Roland A-90 keyboard - A Mac - A PC - REBOL - In-house software Have fun! | |
Steeve: 29-Nov-2012 | Created a new project at http://github.com/SteeveGit/R3-CODE-EDITOR For now, only the vertical scrolling is worth testing (still random crashes). For windows users with the saphirion's R3 version found at http://www.saphirion.com/development/downloads-2/ (pick the first .zip) | |
Kaj: 30-Jan-2013 | I wrote a simple text editor in the Red GUI dialect: http://red.esperconsultancy.nl/Red-GTK/dir?ci=tip&name=examples | |
Kaj: 30-Jan-2013 | Red [] #include %common/input-output.red #include %GTK/GTK.red load-file: function [ field [integer!] ; "widget!" area [integer!] ; "widget!" return: [logic!] ][ all [ link: get-field-text field not empty? link data: read link set-area-text area data ] ] view/title [ "File/URL:" line: field "" [load-file face text] button "Load" [load-file line text] button "Save" [ all [ link: get-field-text line not empty? link data: get-area-text text write link data ] ] text: area button "Quit" close ] "Red GTK+ Text Editor" | |
Kaj: 30-Jan-2013 | In the line field, you can enter either a local file name or a URL, so the editor can be used both on local files and files on remote servers | |
Kaj: 31-Jan-2013 | I extended the Red text editor to support a program argument, for loading a text source from the command line: | |
Kaj: 31-Jan-2013 | Red [] #include %common/input-output.red #include %GTK/GTK.red link: argument 1 load-file: function [ field [integer!] ; "widget!" area [integer!] ; "widget!" return: [logic!] ][ all [ link: get-field-text field not empty? link data: read link set-area-text area data ] ] view/title compose [ "File/URL:" line: field (any [link ""]) [load-file face text] button "Load" [load-file line text] button "Save" [ all [ link: get-field-text line not empty? link data: get-area-text text write link data ] ] text: area (any [ all [ link not empty? link read link ] "" ]) button "Quit" close ] "Red GTK+ Text Editor" | |
Kaj: 3-Feb-2013 | I added seven Red GTK+ examples to the test builds, including the new text editor and simple IDE, so you can try them out right away. The sources are here: http://red.esperconsultancy.nl/Red-GTK/dir?ci=tip&name=examples The binary programs are here: http://red.esperconsultancy.nl/Red-test/dir?ci=tip */Red/console-pro now includes the GTK binding, so you can make GUIs interactively right from the Red interpreter console. Further, HBOX and VBOX styles are now available for layouting. | |
Kaj: 21-Feb-2013 | It turns out that the C library on Windows converts Windows newlines in text files to standard Unix newlines, so when reading a file, it can return fewer bytes than requested. I have extended the Red/System read-file function in the C library binding to support this: http://red.esperconsultancy.nl/Red-C-library/dir?ci=tip This fix propagates to READ in common/input-output, console-pro, GTK-text-editor and GTK-browser. They can now load local text files with Windows newlines, including those that were originally in Unix format but converted when downloading. Thanks to Doc for helping test, and to Gerard and Sqlab for additional reports. | |
Kaj: 5-Mar-2013 | I fixed the bug that was breaking cURL networking on Windows: http://red.esperconsultancy.nl/Red-cURL/dir?ci=tip I've updated the binaries. This fixes READ in common/input-output, console-pro, GTK-text-editor, GTK-browser and RedSystem/read-web-page: http://red.esperconsultancy.nl/Red-test/dir?ci=tip&name=MSDOS The binaries for all platforms include the latest Red enhancements, particularly support in the interpreter for function creation at runtime and execution of those functions that are not compiled and thus only have source available. This enhances console-pro, GTK-IDE and GTK-browser: http://red.esperconsultancy.nl/Red-test/dir?ci=tip | |
Kaj: 27-Apr-2013 | I've updated the binary downloads. The red console interpreters and all the Red examples include the above encoding support now, and all the latest Red features: http://red.esperconsultancy.nl/Red-test/dir?ci=tip For example, the Red/GTK-text-editor now supports writing UTF-8 files with UTF-8 or Latin-1 names. I've added an MSDOS\Red\red-core.exe for Windows 2000, because the GTK+ libraries in red.exe require Windows XP+. | |
MaxV: 6-May-2013 | Welcome back editor: http://rebol2.blogspot.it/2013/05/r3b-update-welcome-back-editor.html | |
Group: Ann-Reply ... Reply to Announce group [web-public] | ||
Gregg: 10-Mar-2012 | This tool lets you visualize information by specifying how a value is mapped to a visually recognizable property like color, font, font-size, line width, etc. You get a complete interactive editor to make such models. Immediate visual feedback is the major goal of our tool. You can mix data from different sources to visualize multi-dimensional information. Here is an example of such a model: | |
Cyphre: 15-Mar-2012 | BTW To make own new model just click "New" button or ctrl+n, enter model name, focus the "root" node in editor and use "h" "v" or "l" keys to create horizontal/vertical clusters or leafs. For more shortcuts open the help window by clicking the "Help" button. | |
MaxV: 26-Jul-2012 | @ ENDO: I think that error is something related to RebGUI . However it's no so easy to create. If you have suggestions to eliminate it, I'm here. @Arnold: there is a rebol editor with syntax hilghting, it's http://trac.assembla.com/shadwolforge/wiki , I think to incorporete it someway. | |
MaxV: 25-Oct-2012 | Rebol [Purpose: {make wikibook entry} Author: "Max Vessi" version: 2.0.0 ] my?: func [ "Prints information about words and values." 'word [any-type!] /local value args item type-name refmode types attrs rtype temp ][ temp: copy "" if all [word? :word not value? :word] [word: mold :word] if any [string? :word all [word? :word datatype? get :word]] [ types: dump-obj/match system/words :word sort types if not empty? types [ print ["Found these words:" newline types] exit ] print ["No information on" word "(word has no value)"] exit ] type-name: func [value] [ value: mold type? :value clear back tail value join either find "aeiou" first value ["an "] ["a "] value ] if not any [word? :word path? :word] [ append temp reduce [mold :word "is" type-name :word] exit ] value: either path? :word [first reduce reduce [word]] [get :word] if not any-function? :value [ append temp reduce [uppercase mold word "is" type-name :value "of value: "] append temp either object? value [ reduce ["^/" dump-obj value] ] [mold :value] exit ] args: third :value append temp "= USAGE: = ^/ " if not op? :value [append temp reduce [ uppercase mold word " "] ] while [not tail? args] [ item: first args if :item = /local [break] if any [all [any-word? :item not set-word? :item] refinement? :item] [ append temp reduce [append mold :item " "] if op? :value [append temp reduce [append uppercase mold word " "] value: none] ] args: next args ] append temp "^/" args: head args value: get word append temp "^/= DESCRIPTION: = ^/" either string? pick args 1 [ append temp reduce [first args] args: next args ] [ append temp "^/''(undocumented)''^/" ] append temp reduce [ "^/^/"uppercase mold word " is " type-name :value " value."] if block? pick args 1 [ attrs: first args args: next args ] if tail? args [exit] while [not tail? args] [ item: first args args: next args if :item = /local [break] either not refinement? :item [ all [set-word? :item :item = to-set-word 'return block? first args rtype: first args] if none? refmode [ append temp "^/= ARGUMENTS: =^/" refmode: 'args ] ] [ if refmode <> 'refs [ append temp "^/= REFINEMENTS: =^/" refmode: 'refs ] ] either refinement? :item [ append temp reduce ["*'''" mold item "'''"] if string? pick args 1 [append temp reduce [" -- " first args] args: next args] append temp "^/" ] [ if all [any-word? :item not set-word? :item] [ if refmode = 'refs [append temp "*"] append temp reduce ["*'''" :item "''' -- "] types: if block? pick args 1 [args: next args first back args] if string? pick args 1 [append temp reduce [first args ""] args: next args] if not types [types: 'any] append temp rejoin [" (Type: " types ")"] append temp "^/" ] ] ] if rtype [append temp reduce ["^/RETURNS:^/^-" rtype]] if attrs [ append temp "^/= (SPECIAL ATTRIBUTES) =^/" while [not tail? attrs] [ value: first attrs attrs: next attrs if any-word? value [ append temp reduce ["*'''" value "'''"] if string? pick attrs 1 [ append temp reduce [" -- " first attrs] attrs: next attrs ] append temp "^/" ] ] ] append temp "^/= Source code =^/" append temp reduce ["<pre>" join word ": "] if not value? word [print "''undefined''" exit] either any [native? get word op? get word action? get word] [ append temp reduce ["native" mold third get word] ] [append temp reduce [ mold get word "</pre>"] ] editor temp ;write clipboard:// temp exit ] | |
Gregg: 29-Nov-2012 | I haven't played with it yet, bu thanks for releasing your code editor Steeve. | |
Kaj: 30-Jan-2013 | The text editor is new. I wanted to attempt it for the conference, but ran out of time | |
Kaj: 20-Feb-2013 | To be able to handle such a file on Windows, you should either have an auto-converting editor, or convert them yourself. On the other hand, REBOL does it automatically | |
Cyphre: 6-May-2013 | Hello MaxV: Congrats to your first R3GUI app! ;-) I have some questions/notes though: 1. Why one needs to download the two DLL files to get R3B running?? (not much user friendly IMO) 2. On your Blog page you say: "First of all there are some bugs, most of them depends on R3GUI, for example this one: https://github.com/angerangel/r3bazaar/issues/8" I bet this is not related to R3GUI at all but more to your R3B build. The REQUEST-FILE works without any problems in our Saphirion build (and I think also the "official" Carl's build works well but haven't tried it). I tried to download and run your R3B binary and I can confirm the bug is related only to this version so it would be fair enough if you remove your R3GUI blaming from the blog entry if possible. I know R3GUi is not perfect so maybe you can just change the blame for some other which is really related to the framework. Or better feel free to ask any questions in RgGUI group here! 3. I've looked into the EDITOR function code and comparing to the R3 editor code (which is still twice as big as the R3GUI version - but I don't know if they match the features though) the R3GUI code looks much cleaner and abstracted that the R2 style even if you are not expereienced writing R3GUI apps. Some notes: 3.1 I'm curious why are you accessing the internal AREA style value like face/names/tb or aa/names/tb/state/value? Is that for some reason? Why you don't use the AREA directly like: do-actor/style face 'on-key arg 'area instead of do-actor/style face/names/tb 'on-key arg 'text-box or write (to-file AA-INFO/OPTIONS/text-edit) get-face aa write (to-file AA-INFO/OPTIONS/text-edit) aa/names/tb/state/value 3.2 There is "classic" but anoying bug. If you open file requester and close it without selecting a file the editor errors out. (but you probably already noticed) 3.3 Would be great if you add keyboard shortcuts. It's easy to add them. See the layouts-15.r3 file in R3GUI Saphirion package as an example. 3.4 Maybe you could try to write your first R3GUI style - MENU It would be handy in the editor(and also in other apps) instead of the buttons on top. Anyway, thanks for promoting R3 and R3GUI. I appreciate all your efforts! | |
MaxV: 7-May-2013 | 1. Saphirion public source works that way, I didn't change anything. So if you have some trick to make it better, your are welcome to contribute. I use MinGW to compile it. 2. "official" R3 has no graphic support, R3B is the public Saphirion, so some investigation is needed. 3. Thak you, but I never found a R3 editor, I don't know of what are you writing. Where is R3 editor? 3.1 I'm a total beginner and too much documentation is missing. I just copied the "on-key" area action. I would strongly appreciate if you send me your version. 3.2 TO-DO list 3.3 I added F5 shortcut to execute code, but I have trouble to add keys combinations. How to control CTRL+S for example? There is anymore the old event/control and event/shift. I'll never blame R3GUI anymore. | |
Cyphre: 7-May-2013 | re 1. Saahirion's builds never needed to have such libraries copied in the program dir. I'm using MinGW includes in combination with MSYS make to build R3. To me it looks like some problem in your make procedure. re 2. REQUEST-FILE native! has nothing to do with graphics. It is present even in the "official" R3 release. re 3. by "R3 editor" I meant eht EDITOR function you have ennounced re 3.1 here is quickly cleaned-up version: http://cyphre.mysteria.cz/stuff/editor.r3 re 3.3 Note the keyboard shortcut code stub in the link above, this is the way how to support shortcuts in R3GUI. Easy, isn't it? As I said feel free to blame R3GUI where appropriate, there are surely bugs around...the REQUEST-FILE bug just simply have really nothing to do with R3GUI but more with your compiled exe. | |
Group: Rebol School ... REBOL School [web-public] | ||
Kaj: 4-May-2012 | If you can control your environment, you could mandate an editor that does automatic conversion | |
Evgeniy Philippov: 10-Jun-2012 | I got an idea from a friend. So I got ready to start my two scripts (maybe someone wrote smth similar???) - one window; left pane has file system folders tree with top at the script's dir, right pane has some content. I want two scripts, every of them is a standalone app for its own like-minded audience: 1) plaintext.r, and 2) activetext.r. The plaintext.r will have right pane editor for plain text, saving it on the fly while editing (when the window is navigated away or closed, the text is saved); and activetext.r which has a plaintext-with-rebol-applets or .r content at the right pane. | |
Evgeniy Philippov: 10-Jun-2012 | Activetext and rtext will have editor and viewer on the right, however plaintext.r will have only editor. | |
Pekr: 20-Jun-2012 | in editor, it's correct. Simply put - I read czech text from an ansi file, and it is distorted in console, ditto when writing it back to file of course .... | |
Endo: 20-Jun-2012 | hmm.. links look weird in AltME, select all text, copy and paste to a text editor to see it correctly. | |
Maxim: 4-Jul-2012 | yeah, well, all I can say is that whenever view or more specifically VID is frustrating, you should just mold the face which is aggravating you, save the code to a file and read it in your favorite syntax highlighted editor. you will learn A LOT about how VID.view works and learn quite a few Reboling techniques too. | |
NickA: 10-Mar-2013 | What's the proper (fast) way to do this? REBOL [title: "Anagram List"] a: copy [] mix: func [str prev] [ repeat i length? str [ picked: pick str i rest: head remove at copy str i append a rejoin [prev picked rest] mix rest join prev picked ] ] mix input: ask "Text: " "" editor unique a | |
MaxV: 11-Mar-2013 | Just use math: a: copy [] mix: func [ myword /local n t] [ n: length? myword t: 1 loop n [ t: n * t n: n - 1 ] while [(length? a) < t] [ append a random myword unique a ] a ] mix "test" editor a | |
NickA: 11-Mar-2013 | REBOL [title: "Anagram List"] a:[]m: func[s p][repeat i length? s[append a rejoin[p k: s/:i r: head remove at copy s i]m r join p k]]m ask""""editor unique a probe length? a a:[]m: func[s /local i][if 1 = i: length? s[append a copy head s exit]loop i[append s s/1 m next remove s]]m ask""editor a probe length? a halt | |
MaxV: 15-May-2013 | Hello, someone needs Sublime Text 2 editor syntax highlight file, see http://rebol.informe.com/forum/rebol-2-f8/sublime-text-2-t59.html Do you know where he may find it? | |
Group: !REBOL3 ... General discussion about REBOL 3 [web-public] | ||
GiuseppeC: 30-May-2013 | Geomol, I have alway in mind using: for /*(set)*/ myvar /*starting from*/ 1 /*reach*/ 10 /*use the stepping*/ 2 /* and execute*/ [print myvar] and see it in the editor as: for (set) myvar starting from 1 reach 10 use the stepping 2 and execute [print myvar] where the "neutral" words are in different colors. | |
GiuseppeC: 30-May-2013 | Gregg, in my scenario I propose filler "comments" and not words. This should not change REBOL language but only commenting. The Editor will be in charge for diplaing these comments in different colors. Adding filler words should be a major change in REBOL. I don't wont to propose something so big. | |
Gregg: 31-May-2013 | Giuseppe, all I'm saying is to experiment first. Dialects are great for that. I'm not against all verbosity, and was reminded recently by an article I read that we can add value by adding information and structure to our programs. And I think the idea of the editor knowing, and highlighting, filler words is great. At this point, and I'm happy to be convinced otherwise, the standard REBOL interpreter should not handle it. Is REBOL more like math or natural language? Would you implement comments the same way if you said "Math"? |
world-name: r3wp
Group: !AltME ... Discussion about AltME [web-public] | ||
BrianH: 15-Jul-2005 | I'm sure this is a stupid question, but how do you enter a return (newline) into an AltMe entry directly, without precomposing your entry in a text editor or some such? | |
Group: Core ... Discuss core issues [web-public] | ||
Ryan: 7-Jan-2005 | (you were right about the editor too, 1 night was too little) | |
Ryan: 8-Jan-2005 | Just curious if it looked up the site for a directory. part of my rebol editor I am working on. | |
eFishAnt: 14-Jan-2005 | aha, you give me so many ideas for my editor... | |
eFishAnt: 14-Jan-2005 | aha...a datatype-sensitive editor...see, I should close down the right side of my brain so the left side can type code easier. | |
shadwolf: 14-Jan-2005 | data-type sensitive editor but normally rebol is datatype unsensive :) | |
Group: Script Library ... REBOL.org: Script library and Mailing list archive [web-public] | ||
Anton: 10-Feb-2005 | REBOL is an interpreted, internet messaging language. Highly flexible, REBOL saves time by reducing the amount of code you need to write. Code and data are the same. You can find and collapse repetitive patterns in data or code. Write your own dialects. Very easy to install, test and debug. Use the text editor you like. | |
MikeL: 8-Jan-2006 | Sunanda, Can it be a manually maintained xml file until it can be automated? I am doing that for my internal blog until I add the automation code to blog. r (that I expect Carl already has on his version). I have a trigger for when a blog article is added to use "editor ftp://...../rss.xml"to make whatever additions that I want to expose via RSS. It's suboptimal but I don't have any complaints from the people that they have to visit the pages to see What's New. And since they weren't visiting regularly to poll for What's New anyway, if the RSS feed it updated a few hours later it is still an improvement. | |
eFishAnt: 25-Apr-2006 | Ryan Cole had done hex-edit.r found on my hard drive...wasn't in Library when I searched on hex and editor | |
Sunanda: 26-Apr-2006 | As Reichart says somewhere, Altme REBOL3 is great for quick problem solving. But you have to find it first. Like most of the REBOLsphere it is close to invisible (eg eFishAnt's recent serach for a REBOL hex editor. They exist: but can you find them?) REBOL.org is just about the only exception to the invisibleness of the REBOLsphere -- try looking in Google for script library as an example. | |
Anton: 15-Mar-2009 | Sunanda, you're right about that ascii-math.r file. When I clicked the [Download script] link, the browser (konqueror) downloaded and directly opened it with the editor (SciTE). SciTE thought it was 8-bit ascii, and showed the characters incorrectly. All I had to do was change the file encoding from 8-bit to utf-8 and the characters appeared correctly. I guess the editor had no way of determining the encoding, and incorrectly guessed 8-bit ascii. | |
swall: 16-Mar-2009 | Vim and Editor˛ display the chars incorrectly. Notepad++ shows the chars correctly. | |
Sunanda: 16-Mar-2009 | Of the various editors / word processors I have immediately to hand: -- credit.exe -- [my usual editor] shows incorrect chars, and has no option to switch to UTF-8 -- open office writer -- works fine if you take the UTF-8 option when asked -- ms word -- claims file is corrupt -- word perfect -- makes a complete mess -- R2/View's built in editor ( editor %/c/path to my local copy//ascii-math.r) -- shows incorrect chars | |
Sunanda: 18-Mar-2009 | Using Peter's code (thanks again!), I've made two changes to the download-a-script link: 1. if we find UTF-8 chars in a script, we download it with the HTTP content type charset=utf-8 But that probably makes no practical difference. A downloaded script will be saved by the browser, and then opened by a text editor. The text editor is unlikey to be passed the charset setting. So: 2. Scripts with UTF-8 encoding are downloaded with a few lines of comment at their top. The comment explains the possible problem. Thanks to all for the comments and help with getting things this far. | |
Group: I'm new ... Ask any question, and a helpful person will try to answer. [web-public] | ||
Normand: 30-Apr-2005 | Thanks for all those suggestions. I was out for quite a while and am very happy of all those remarks. It will help orient my trials&errs. About objects, dynamic versus static, If I understand it, in Rebol it is static? I never had to use them except to encapsulate the whole of an app. Is there a trick to mimick something dynamic to hold changing values? Maybee a copied block is enough? I wonder because I regularly try to add code to a bibliographic database, a kind of a variation on bibtex (never ended, allways in progress), And I am not too far from aiming the storage mechanism and wonder what I should use to hold something like from 5 to 10 thousand references (my actual need is 3.5K) I used endnotes in the past, but dreamed about my own. It is a lot of work (more than I expected as it is my first app). Up to now I think I will use simply name-value pairs, like Carl's cardex. This kind of data is more like a ragged array, the fields and their numbers allways vary, and I may amend their list with time. The idea of using an object would be nice but need something where I may add or retract variable names and change their values. By the way, I thank Volker for his edit-tools, that may help to add a writing pad. And his double slider is refreshingly new for such and old paradigm as an editor. | |
Group: Make-doc ... moving forward [web-public] | ||
Geomol: 10-Jan-2005 | @Pekr: I use the vi editor (now mostly vim) to write code, and it allow me to set auto-indent, so when I start something indented, it'll stay indented, when I go to next line. Further indenting is done by inserting a <tab>, and going back is done with <backspace>. So it's no big problem for me to write code indented as makedoc require. | |
Geomol: 10-Jan-2005 | One of the goals with the MakeDoc format is, that it's possible to easily read with a normal text window, and some people may want to edit it with a normal text editor and write the formatting chars themselves. XML is not suited for that. XML also has the same start- and end-tag problem (that I mentioned above) as HTML. | |
eFishAnt: 11-Jan-2005 | yes, a make-doc friendly editor, if done right could enhance doc writing even further than makedoc2.r takes it. | |
eFishAnt: 11-Jan-2005 | being "agile" with lines for such an editor makes sense to me. | |
eFishAnt: 11-Jan-2005 | for REBOL code, a block-sensitive editor is needed. | |
shadwolf: 11-Jan-2005 | yes like crimsom editor or emacs that warns you what [ correspond to what ] | |
shadwolf: 11-Jan-2005 | a good editor i think is the SCITE made for GUI4CLI it includes all this kind functionnality that not the applicable to MDP-GUI but for rebol rad tool it could be very nice | |
Group: CGI ... web server issues [web-public] | ||
Volker: 5-Jun-2005 | (AFAIK:) The browser submits what read-cgi reads. Post means: give script all data in stdin (system/ports/input). Thats for lots of data, when you post something. Get means, give data in url. Thats for getting data, the query is only short (and typable in urlbar). So read-cgi write that in a file and read it in an editor. | |
Pekr: 8-Apr-2009 | NVU is old Mozilla attempt to separate page editor into something like FrontPage. I think it is not developed anymore, but some ppl do continue with developments under the name Kompozer. More info here - https://wiki.mozilla.org/NVU:Home_Page | |
Group: Web ... Everything web development related [web-public] | ||
Volker: 4-Feb-2005 | Found a tool for css and firefox. Opens an editor in the sidebar with css for the main-page. and updates main-page on the fly on edit. https://addons.update.mozilla.org/extensions/moreinfo.php?application=firefox&version=1.0&os=MacOSX&category=DeveloperTools&numpg=10&id=179>EditCSS | |
Group: XML ... xml related conversations [web-public] | ||
CarstenK: 7-Nov-2005 | I will try the new xml2rebxml.r, I think it would be nice to preserve the comments. If somebody writes xml in a text editor and makes some annotations, so it its nice, if he gets these comments back after processing the files with some other (REBOL) tool. But this feature has some lower priority. I found some more thing in xml2rebxml.r, only the entities replace/all att-data ">" #">" replace/all att-data "<" #"<" replace/all att-data "&" #"&" will be replaced, the other two are missed, I think: replace/all att-data """ #"^"" replace/all att-data "'" #"'" | |
Group: Rebol School ... Rebol School [web-public] | ||
OneTom: 21-Oct-2005 | i did this kind of realtime coding once. i wrote a forth vm in awk at the #[forth-:-irc-:-freenode-:-net]. what i missed those times was a simple cooperative editor. it can b imagined as a whiteboard but there is only 1 "painting" tool is available, a cursor for writing text. (i was at the end of a 33.6kbps modemline those times, so i havent dared to dream about video :) | |
DideC: 22-Oct-2005 | Have you tried MoonEdit. It's a cooperative editor : you can be several editing the same text in realtime. Funny! But not sure "usefull" can be an adjectiv. | |
denismx: 17-May-2006 | Anton, Maxim: noted. Hum... will have to test what happens if I use "début" with the accent. In VC++ console mode, the output doesn't use the same character table as the editor. Didn't think of checking this yet, but the classe will be held in French so I should check, although this is not vital. | |
Group: Rebol/Flash dialect ... content related to Rebol/Flash dialect [web-public] | ||
Oldes: 23-Nov-2005 | I already posted it to rebcode group as it's rebcode which allowed me to this, but will like to post it here as well, because the main reason was to improve the Rebol/Flash dialect again.... Maybe you know that in Flash you can have embedded outlined fonts (independend on system) Most of the font's looks blury if you use them as outlines so you must use special fonts to get non blured pixel precision fonts. I was using some font editor just to see, that it's pretty difficult to make such a font so I decided it would be good to have possibility to make such a font just in any graphic editor - as a bitmap and comnvert it to pixels. Here is the result: do http://box.lebeda.ws/~hmm/rebol/projects/font-tools/latest/test.r | |
Alek_K: 24-Nov-2005 | BTW - see SimpleFont http://www.simplefont.com/(font editor) | |
Oldes: 24-Nov-2005 | interesting, this one I haven't known, for me it's enough what I have (anyway it looks that you cannot make subpixel fonts with this editor and you must do the tracing by hand:) | |
Oldes: 24-Nov-2005 | I was thinking about making visual editor as well, but don't think it's so important, I have my font and that's enough for now:) | |
Oldes: 25-Oct-2007 | It is possible to create drag'n'drop editor in the dialect as well.. but first I have other goals. And maybe one day you will be able to create layout from Rebol VID too. | |
Group: RT Q&A ... [RT Q&A] Questions and Answers to REBOL Technologies [web-public] | ||
Henrik: 26-Oct-2005 | Q: I realize that the open sourcing of the viewtop wasn't that successful, but do you still intend to keep releasing newer versions of it? AFAIK the current release is over a year old. I've experienced a lot of obvious bugs in the viewtop editor, which I think can easily be solved by people outside RT. | |
Gabriele: 11-Dec-2005 | Q: (note - my view may be influenced by insufficient knowledge in the area given) - last weeks I played with wrapping some Win32 functions. I started discussion on dll.so channel, to ask developers, if they would enhance interfacing to C libraries in some way, and there was few ideas appearing. We currently have also rather strange callbacks support (limited to 16) and I would like to ask, taking into account that DLL interface in Rebol was not changed/enhanced since it appeared long time ago, if RT sees any area in which it could be made more robust, developers friendly etc.? A: We are planning to do a lot more on DLLs. In fact, future versions of REBOL will expand on the way DLLs are used in REBOL. For example, I would like to see DLL support for media loaders and savers, so if we do not directly support a specific type of media file (say, TIFF) then an external DLL can be provided to load it. There are a few other DLL related features down the road, but it is still a bit early to talk about them. Q: I realize that the open sourcing of the viewtop wasn't that successful, but do you still intend to keep releasing newer versions of it? AFAIK the current release is over a year old. I've experienced a lot of obvious bugs in the viewtop editor, which I think can easily be solved by people outside RT. A: yes we will continue to release newer versions. View 1.3.2 fixed a number of bugs in the Viewtop editor that were listed in on RAMBO. Any fixes and enhancements from the community are greatly appreciated (by everyone, not only RT!) You can post them to RAMBO, and we will review and include them (if they look good). Q: While reviewing the action! functions, I noticed the path action. The doc comment says "Path selection.". The parameters aren't typed. Does anyone know what this action does, and how to use it? Or whether it can be or should be called directly at all? A: the PATH action is what the interpreter uses to evaluate VALUE/selector expressions for each datatype. It is an internal action and has no external purpose in programs. These kinds of words often appear as a sort of "side-effect" from how REBOL is structured. Datatypes are implemented as a sort of object class, where the interpreter "sends messages" to the class to evaluate expressions. The PATH action is a message that tells the datatype to perform a pick-like or poke-like internal function. Q: Is rebcode going to support paths and/or some kind of binding? A: Certain rebcode can support anything we feel is important to put into it, but note: many things we add could slow it down, by a lot. For example, if we were to allow paths as variables, I estimate that rebcode would be about two times slower than it is now. Perhaps one way to solve this issue is for you to use COMPOSE prior to specifying your rebcode body. Within the compose, you can use IN object 'word to "pre-compute" the context references for words. For example: add.i (in object 'num) 10 Your question about binding is not clear to me. Rebcode already supports binding. Your rebcode can be part of an object context, and rebcode function words are bound to the code context. (Perhaps you are referring to an older bug that has since been fixed?) Q: What do you think about http://mail.rebol.net/maillist/msgs/39493.html ? Why not say a word in your blog, if you think that it's interessant for rebol developpment, and if you want to contact them ? A: Recently, I had the chance to sit down and talk with one of the main people from the One Laptop Per Child project (he is a friend of mine from Apple Computer days). The project has an interesting goal, but there are also many difficult issues around it (not just in the technical side, but also on the social and cultural sides). My current understanding is that the target software is Smalltalk based. Yes, it would be very interesting to allow REBOL on that system, but if you look at the list of principals for the project, you will see that such a revolution is unlikely. Is it possible that perhaps REBOL could provide some additional capability in the future? I think so. We have some special plans that I think will bring REBOL to platforms like that in the future. But, this is too early to say more. Q: 1. What is fixed/added in 2.6.2/1.3.2 (change-log, please) ? 2. What is planned for 1.4.0 (rebcode, rebservices, rich-text, RIF, and last but not least, fixed sound ...) ? 3. When can we expect 1.4.0 ? Thanks. A: 1. Gregg is preparing a summary. The document should be available this week. 2. We are evaluating a large variety of changes in REBOL, more than even the 1.4 release that we've talked about. I hope to be able to say more about these plans soon. | |
Group: Plugin-2 ... Browser Plugins [web-public] | ||
Volker: 15-May-2006 | Thinking about it, yes. Maybe the standard things native, browser, email, editor. With an option to use mail and editor inbuild. Maybe these could run by 'launch, so they are rebol, but reblets cant touch the real code. | |
Group: !Liquid ... any questions about liquid dataflow core. [web-public] | ||
Maxim: 16-Feb-2007 | which is how I decoupled the refresh and the event handler of my graph editor. | |
Steeve: 16-Feb-2007 | i think i could work an a new concept of rebol script editor with liquid | |
Maxim: 16-Feb-2007 | liquidator my current project will change how we can develop apps. its not just a "code" editor... its a data editor. | |
Maxim: 16-Feb-2007 | but its not yet actually able to DO anything. I'm at the fledgling days of optimising the gfx engine for the graph editor. The node creation, dragging and linking are done, (all graphically) and even already detect cycles, so you can't connect nodes in such a way as to get a dependency cycle :-) | |
Maxim: 16-Feb-2007 | liquidator's first module I wish to build is a REBOL IDE. so that means... a decent editor, code compositing, concurrent souce version control... right on the source without CVS (no need), notes, unit testing, etc... and debugging, when possible. | |
Group: Games ... talk about using REBOL for games [web-public] | ||
Geomol: 16-Jan-2007 | I made a prototype for a mobile game 2 years ago. It went well! As you mentioned, key-up events were the biggest problem for me. I didn't add sound, but that shouldn't be too much a problem, I think. I even made a level editor, so that's a game dev tool. | |
Geomol: 16-Jan-2007 | The editor, I made, look like this: http://home.tiscali.dk/john.niclasen/pictures/editor.png I haven't released any code related to this project. | |
ICarii: 2-Jun-2007 | a Rebol version of Mahjong solitaire is almost complete and should hit the ML and announce later today - just adding an editor atm :) | |
ICarii: 29-Jun-2007 | For the Icons at the top: Blue = Crystal Mines, Green = Forests, Red = Gold Mines. These are your base resources that reproduce each turn. They create stockpiles of Energy, Wood and Gold respectively. These stockpiles are used to activate cards in your hand. card.png is the 'hidden' or deck card face. This is used to hide the computer's cards and the deck and discard piles. card1.png is a sample of the format that the card images are in. This can be used as a basis for creating new cards to the correct size. (86x64 pixel size with a 7x7 pixel offset into the card1.png template). I have a card editor that can add in the card details to match their stats etc. Regarding image names - ill compile a full list and place it on the website later today once i finalise the deck size :) |
1 / 560 | [1] | 2 | 3 | 4 | 5 | 6 |