r/rebol • • Oct 12 '20

Arturo Programming Language + Bytecode VM

14 Upvotes

(Yet another) Rebol-inspired programming language.

https://github.com/arturo-lang/arturo

I've been working on the project for the past 1.5 year, so any suggestion/idea/opinion is more than welcome. :)


r/rebol • • Apr 23 '21

Oldes' Rebol v3.5.3

Thumbnail
github.com
11 Upvotes

r/rebol • • Feb 26 '18

Website update, new projects, fresh thoughts

Thumbnail rebol.com
9 Upvotes

r/rebol • • Nov 10 '15

Rebol 3 User Guide [Function reference - Atronix wiki]

Thumbnail wiki.atronixengineering.com
9 Upvotes

r/rebol • • Dec 11 '13

Why Rebol, Red, and the Parse dialect are Cool

Thumbnail
hostilefork.com
9 Upvotes

r/rebol • • Jun 12 '17

Short Rebol Examples 2017

Thumbnail
youtube.com
8 Upvotes

r/rebol • • Apr 30 '17

Rebol website down for days?

8 Upvotes

I believe it went down Friday night. Maintenance work? I've been trying to get to the doc as I'm new to the language.


r/rebol • • Apr 21 '16

Rebol vs. Lisp Macros

Thumbnail
blog.hostilefork.com
8 Upvotes

r/rebol • • Dec 13 '12

Rebol source released under an Apache 2.0 license

Thumbnail
github.com
8 Upvotes

r/rebol • • Feb 21 '23

The Meta REBOL dialect

Thumbnail language.metaproject.frl
7 Upvotes

r/rebol • • Jun 12 '17

"JSON Influenced by... Rebol" - The JSON Saga (Douglas Crockford)

Thumbnail
youtu.be
7 Upvotes

r/rebol • • Mar 24 '16

Current status of Rebol?

7 Upvotes

Hi,

Is Rebol still under active development? Is Carl S still involved with the project?

Looking at the Rebol GitHub, it seems there is not much activity going on. Some web sources point to Red language as the most active implementation in development, but is it an approved fork that stays true to Rebol?

Just trying to wrap my head around current development and the way forward, so to speak.


r/rebol • • Dec 10 '15

Understanding Rebol Series

Thumbnail
medium.com
7 Upvotes

r/rebol • • Sep 18 '15

Who Says Ni? (A language influenced by Smalltalk & Rebol written in Nim)

Thumbnail
goran.krampe.se
7 Upvotes

r/rebol • • Dec 11 '13

Introducing Parse (Red)

Thumbnail
red-lang.org
7 Upvotes

r/rebol • • Aug 11 '13

Rebol Home Automation With Insteon [video | Carl Sassenrath | ReCode Montreal 2013]

Thumbnail
youtube.com
7 Upvotes

r/rebol • • May 03 '19

Rebol Developer Conference 2019

6 Upvotes

http://rebol.info/conference

I will be hosting a Rebol Developers Conference in Philadelphia this summer (July 6th-7th). I've a great location lined up just around the corner from the Independence Mall (across the street from Ben Franklin's Post Office) and have some great talks lined up (more on this to follow—some epic projects: some you'll know about, one or two you won't).

I'll have registration up shortly, for now I've a wee questionnaire to get an idea of what kind of interest there is. Aside from the featured talks, I'd like to now issue a call for participation for anyone that would like to talk about their Rebol, Red or Ren-C projects. We'll have streaming and will record the talks for posterity.

If you're in the northeastern US, Philly is very accessible (great rail/bus access) about 90mins from NYC and DC. If not, it's a culturally rich city that is very much worth a visit even without a Rebol conference as an excuse, and we'll be here for July 4th at the very location where July 4th became a thing. Our hosts will provide co-working space on July 5th for any conference participant arriving from out of town.


r/rebol • • Jan 20 '18

A parser for Rebol 3 written in Ren-C

Thumbnail
github.com
6 Upvotes

r/rebol • • Dec 31 '17

Ren-C 2018 Roadmap and Retrospective

Thumbnail
forum.rebol.info
6 Upvotes

r/rebol • • Feb 08 '17

My first REBOL program, and a question about validation

6 Upvotes

I made this little app which is basically a front end for ffmpeg to convert TS files to MP4. It works, but I would have liked to do something like HTML5's form validation for certain fields (like if there was no ffmpeg.exe found). I couldn't really find or at least understand a way to do it though (not at least with my search results). Could someone show me an example of some kind of input validation upon submission or something similar?

Thanks.

REBOL [ title: "TS Ripper"]

ffmpeg: ""
msg-log: join "Info goes here: " newline
ts-loc: ""
filename-default: join now/year [{-} now/month {-} now/day { } replace/all to-string now/time ":" "-" {.mp4}]

load-db: func [file] [
  either exists? file [
	load/all file
  ][
	append msg-log reduce ["Warning: File Not found - Creating file settings.r" newline]
	write %settings.r {ffmpeg: ""}
	copy []
  ]
]

get-set-ffmpeg: func [] [
	ffmpeg: request-file/only
	write %settings.r reduce [{ffmpeg:} { "} ffmpeg {"}]
]

set-ts-loc: func [][
	either equal? ts-loc "" [ 
		request-file 
	][
		ts-loc
	] 
]

; functions return the last value upon evaluation
set-filename: func [] [
	either equal? filename-field/text ".mp4" [
		filename-default
	][
		filename-field/text
	]
]

reduce load-db %settings.r ; imports settings from settings.r 

; check if the length of ffmpeg (which has been trimmed) is equal to 0 (or no value)
either equal? length? trim ffmpeg 0 [
  append msg-log reduce [ "FFmpeg not found - requesting ffmpeg path." newline ]
  get-set-ffmpeg
][
  append msg-log reduce ["Path to FFmpeg is:" ffmpeg newline]
]

; search for FFmpeg
either find/last ffmpeg "ffmpeg.exe" [ 
	append msg-log reduce [ "Found FFmpeg." newline ]
][ 
	append msg-log reduce [ "FFmpeg not found - requesting ffmpeg path." newline ]
	get-set-ffmpeg 
]

; GUI
window: layout [

	h2 "Welcome to TS Ripper" 

	text "Fill out the fields - Note: requires FFmpeg." font-name "Microsoft Sans Serif"
	text "Download FFmpeg from https://ffmpeg.org/" font-name "Microsoft Sans Serif"

	across
	label "Filename" font-color black shadow 0x0 
	tab 
	filename-field: field ".mp4" edge none
	
	return
	tab 
	text "If you want to change the location of FFmpeg, click the next button." 
	
	return
	tab 
	button "Locate FFmpeg" edge none shadow 0x0
	[
		get-set-ffmpeg
	] 
	text ffmpeg
	
	return
	tab 
	button "Locate TS file" edge none shadow 0x0
	[
		ts-loc: request-file
		ts-loc-display/text: ts-loc
		show ts-loc-display
	] ; show the name of the selected file
	ts-loc-display: text ts-loc 
	
	return
	label "RIP quality" font-color black shadow 0x0 tab 
	rip-quality: field "1200" edge none

	return
	tab 
	button "Rip" [ 
		ffmpeg: to-local-file to-string ffmpeg 
		set-ts-loc: to-local-file to-string set-ts-loc
		set-filename: to-local-file to-string join pwd set-filename
		call/console 
			join 
				{"} [ ffmpeg {" -i "} set-ts-loc {" -b:v } rip-quality/text {k -vcodec libx264 } {"} set-filename {"}] 
	] 
	return
	label "Log" black shadow 0x0 tab 
	area msg-log black font-color white edge none wrap

]

View window 

r/rebol • • May 27 '13

rebol markup

6 Upvotes

the code

Here's an example

print markup [
	html [
		head [
			style {} 
			[meta-example attr value /]
		]
		body [
			[a href arstechnica.com]{arstechnica} 
			[br /] ; single tag
			[hr /] 
			table [
				tr [td {something} td {else}]
				tr [td {now} td {isn't} td {good}]
				tr []
			]
			[hr /]
		]
	]
]
<html>
	<head>
		<style>
			
		</style>
		<meta-example attr="value" />
	</head>
	<body>
		<a href="arstechnica.com">
			arstechnica
		</a>
		<br />
		<hr />
		<table>
			<tr>
				<td>
					something
				</td>
				<td>
					else
				</td>
			</tr>
			<tr>
				<td>
					now
				</td>
				<td>
					isn't
				</td>
				<td>
					good
				</td>
			</tr>
			<tr>
			</tr>
		</table>
		<hr />
	</body>
</html>

This simple little function produces nicely formatted markup. It can be used to produce XML or HTML.

The argument is a block of repeating structure <tag> <content>, where content is optional if the tag ends in "/]". For example

body [ ... ] - normal tag, recursive, goes before and after contents

p {paragraph text} If the content is text it also ends the recursion.

[a href google.com] {link text} If you want attributes then make the tag a block

or [br /] for a line break. This is a single tag without content. A single tag must be in a block that ends with "/]".


r/rebol • • Jan 17 '13

10 Rebol programs in half of a page of code.

Thumbnail
musiclessonz.com
6 Upvotes

r/rebol • • Jan 11 '24

Tail recursion in Rebol

Thumbnail funcall.blogspot.com
5 Upvotes

r/rebol • • Jul 26 '22

Another Rebol inspired lang. keeps chugging along - Rye

5 Upvotes

Updated: 07/28/22
Hi, if you are interested in Rebol like languages, especially if you also know/like Golang, this project I keep working on might interest you. It's not Rebol but it started from the same core ideas of Rebol, replaced [] with {} and added optional left to right code flow.

This little convoluted Rebol's example:

a: 1 loop 10 [ prin either even? a [ "*" ] [ "." ] a: a + 1 ] ; prints .*.*.*.*.*

Is in Rye exactly the same:

a: 1 loop 10 { prin either even a { "*" } { "." } a: a + 1 } ; prints .*.*.*.*.*

But something like:

cities: ["Eureka" "Ukiah" "Santa Rosa"]
foreach city cities [print city]

Is in Rye:

cities: { "Eureka" "Ukiah" "Santa Rosa" }
for cities { :city , print city }

Or rather:

{ "Eureka" "Ukiah" "Santa Rosa" } .for { .print }

And Rebol 3's:

map-each 'x [ 1 2 3 ] [ x + 10 ] ; which returns [ 11 12 13 ]

Is Rye's

map { 1 2 3 } { + 10 }

If this piqued your interest, there are plenty of examples and development updates on Rye's blog, and there are multiple examples and w-i-p documentation on it's github repo. Rye is written in Go and thanks to easy yet capable language development is not that complex, Go has tons of libraries and adding them to Rye is not really hard either.

https://ryelang.blogspot.com/

https://github.com/refaktor/rye/

I am aiming for a practical and useful language. Focus right now is on the server side, backend, Linux shell types of tasks, data preprocessing, not on GUI. Any feedback is welcome!

Update: To show that this is not just an academic or outdated effort :) ... this is the latest example of sending email with attachment through Amazon's AWS SES service.


r/rebol • • Jun 08 '19

Are there any project based Rebol/Red tutorials?

5 Upvotes

Hi, I have been wanting to learn Rebol (or its newer variant Red https://github.com/red/red ) for quite some time. I wanted to know if there are any project based tutorials that a member of the Rebol community has written. Something that also highlights the benefits of using Rebol. Something like the articles on this site http://howistart.org/posts/erlang/1/index.html