Skip to content

Lartu/ldpl-url-resolver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

The LDPL URL Resolver Library

Version License Size

The LDPL URL Resolver Library is a super easy to use library for LDPL that helps you resolve URLs into their respective IP addresses. This library requires LDPL 4.3 or greater.

🧰 Installation

You can install this library by hand or using LPM.

πŸ“¦ Installing using LPM

Open a terminal and write lpm install ldpl-url-resolver. Once downloaded, include it in your LDPL project by adding the line:

using package ldpl-url-resolver

before the data and procedure sections of your source file. The library is ready to be used.

βœ‹πŸ» Installing by hand

Include the library into your LDPL project by copying the folder ldpl-url-resolver to your project directory and then adding the line:

include "ldpl-url-resolver/ldpl-url-resolver.ldpl"

before the data and procedure sections of your source file. The library is ready to be used.

πŸ“š Documentation

This library adds a single new statement to the language:

  • resolve url <text> in <text-var> resolves the url <text> and stores the resulting IP in <text-var>.

🏫 Example

using package ldpl-url-resolver
data:
  ip is text
procedure:
  resolve url "www.ldpl-lang.org" in ip
  display "The ip for www.ldpl-lang.org is " ip lf

πŸ“œ License

This library is released under the MIT License.

About

URL to IP resolving library for LDPL πŸ”—

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages