User contributions for Tedaryum

From OnixOS
A user with 122 edits. Account created on 10 August 2024.
Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)

11 August 2024

  • 09:5709:57, 11 August 2024 diff hist 0 N Talk:DatabaseCreated blank page current
  • 09:5709:57, 11 August 2024 diff hist +4,763 N DatabaseCreated page with "= Models and Connections = How to make models, connections and migrations. Connections; First we need to define database connection; <code>def db = (database("dbtype","dbstring"))</code> Database type and Database strings are connection types. For example you need sqlite3 connection; <code>def db = (database("sqlite3","sqlite_database_example.db"))</code> Now ready to connect models and databases; <code>def modeldef = (model(db, "modelname", {....table definitions})..." current Tag: Visual edit
  • 09:5609:56, 11 August 2024 diff hist 0 N Talk:DialersCreated blank page current
  • 09:5609:56, 11 August 2024 diff hist +646 N DialersCreated page with "Dialer functions can automatically initiate a socket or provide sockete access and automatically communicate over a socket. dial_serve.ola (dial serve example): <code>sock socket "tcp4" "9050" "0.0.0.0"; def messages = { "ping”: "pong”, "call”: "Calling… NOPE! :)”, "help”: "Not helpfull!” } sock_listen(socket, messages)</code> The 9050 port is ready to connect. dial_client.ol (dial client example): <code>sock socket "tcp4" "9050..." current Tag: Visual edit
  • 09:5609:56, 11 August 2024 diff hist 0 N Talk:Make RouterCreated blank page current
  • 09:5609:56, 11 August 2024 diff hist +1,223 N Make RouterCreated page with "The router socket structure was created with the intention of creating an API over the HTTP/S protocol and exchanging data through the socket. In web based projects it is possible to write web server quickly and easily. In addition, the API can be created in micro-services. hello.olm (as hello module): <code>def hello = fn(name){ return ("Hello, "+name+"! Welcome to Olang") }</code> router.ol (as router): <code>load "hello.olm" def config = { <nowiki> </nowiki>..." current Tag: Visual edit
  • 09:5509:55, 11 August 2024 diff hist 0 N Talk:AdvancedCreated blank page current
  • 09:5509:55, 11 August 2024 diff hist +12 AdvancedNo edit summary current Tag: Visual edit
  • 09:5509:55, 11 August 2024 diff hist +16 N AdvancedCreated page with "Advanced Section" Tag: Visual edit
  • 09:5409:54, 11 August 2024 diff hist 0 N Talk:DefinitionsCreated blank page current
  • 09:5409:54, 11 August 2024 diff hist +1,037 N DefinitionsCreated page with "How to make definitions and details = Definition = Simple casting definition; <code>def something = something;</code> = Hash = Simple casting hashes; <code>def pyramid = {"x":10, "y":10, "z":10} pyramid["x"] 10</code> = Array = Simple casting arrays; <code>def triangle = [10,20,30] triangle[1] 10</code> = Integer = Simple casting integer; <code>def zero = 0 0</code> = String = Simple casting string; <code>def name = "Oytun" "Oytun"</code> = Functions = S..." current Tag: Visual edit
  • 09:5409:54, 11 August 2024 diff hist 0 N Talk:FunctionsCreated blank page current
  • 09:5409:54, 11 August 2024 diff hist +10,815 N FunctionsCreated page with "= itostr = Convert integer to string. But strings and integers not connect with plus iteration (Ex: “Hello”+0 => imposible need to convert 0 or “Hello” to string or integer in IRL[In real life]). For example; <code>def i = 0; # => 0 def str = itostr(i) # => "0"</code> = len = Gives something to length. Sometimes usefull for length calculation. Easy to use. Example; <code>def arr = [1,2,3,4,5] def lenArr = len(arr) # => 5</code> = first = All objects gi..." current Tag: Visual edit
  • 09:5309:53, 11 August 2024 diff hist 0 N Talk:TokensCreated blank page current
  • 09:5309:53, 11 August 2024 diff hist +1,681 N TokensCreated page with "= fn = <code>Function: def object = fn(...){....}</code> = def = <code>def object = something</code> = true = <code>Boolean: true</code> = false = <code>Boolean: false</code> = if = <code>if(...boolean){ .... }</code> = else = <code>else{ .... }</code> = return = <code>def pi = fn(x){** return "3.14" **}</code> = input = <code>input(object)</code> = output = <code>output(object)</code> = loop = <code>loop(condition){...result} def result = (loop(condi..." current Tag: Visual edit
  • 09:5209:52, 11 August 2024 diff hist −3 FilesNo edit summary current Tag: Visual edit
  • 09:5209:52, 11 August 2024 diff hist +474 FilesNo edit summary Tag: Visual edit
  • 09:5209:52, 11 August 2024 diff hist 0 N Talk:TypesCreated blank page current
  • 09:5209:52, 11 August 2024 diff hist +1,426 N TypesCreated page with "= Process = Simple casting system processes; <code>proc procname "command" "work path" ["arg1","arg2"]</code> = Socket = Simple casting system sockets; <code>sock socketname "type" "port" "ip"</code> = Literals = The literal definition is used to describe the system invariants. The literal definition is used to describe the system invariants. These definitions maintain their validity throughout the system. Similar to definitions. There is no need to use a parameter..." Tag: Visual edit
  • 09:5009:50, 11 August 2024 diff hist 0 N Talk:Module LoadingCreated blank page current
  • 09:5009:50, 11 August 2024 diff hist +412 N Module LoadingCreated page with "O Language files is to simple. File extension “.olm”. Let’s start by examining the programming language example. hello.olm (as hello module): <code>def hello = fn(name){ output("Hello, "+name+"! Welcome to Olang") }</code> load.ola (main file): <code>load "hello.olm" def name = "Oytun"; hello(name);</code> Run: <code>$ olang load.ola</code> Output: <code>Hello, Oytun! Welcome to Olang</code>" current Tag: Visual edit
  • 09:5009:50, 11 August 2024 diff hist 0 N Talk:FilesCreated blank page current
  • 09:4909:49, 11 August 2024 diff hist +368 N FilesCreated page with " Olang files is to simple. Default file extension “.ola”. Let’s start by examining the programming language example. sample test.ola file: <code>def hello = fn(name){ return ("Hello, "+name+"! Welcome to O-lang!") } def result = hello("Oytun") output(result)</code> Run: <code>$ olang test.ola</code> Output: <code>Hello, Oytun! Welcome to Olang</code>" Tag: Visual edit
  • 09:4909:49, 11 August 2024 diff hist 0 N Talk:Getting StartedCreated blank page current
  • 09:4909:49, 11 August 2024 diff hist +346 N Getting StartedCreated page with "First get <code>olang(.exe)</code> file or <code>go get -v gitlab.com/olanguage/olang</code> and run <code>olang(.exe) (-r) <filename> (-d=true [debug mode])</code> Thats it. Create file with example.ola; <code>output("Hello Galaxy!")</code> Run file with olang; <code>olang example.ola</code> Result; <code>"Hello Galaxy!"</code> Thats all." Tag: Visual edit
  • 09:4909:49, 11 August 2024 diff hist +201 O LanguageNo edit summary Tag: Visual edit

10 August 2024

(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)